package
0.0.0-20180704120643-39cffea1dab6
Repository: https://github.com/gosoon/go-utils.git
Documentation: pkg.go.dev
# Functions
APIPrefix will set api prefix for the api server.
ListenAddr will set listen addr for the server.
New func for server creating.
PProf switch on/off the http pprof api.
WithNotFoundHandler set NotFoundHandler for router.
# Variables
Healthz controller example.
# Interfaces
Controller is an interface that register handlers with a http router.
Server is the api server interface.
# Type aliases
Option func for server.