Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerOption ¶
type ServerOption func(s *Server)
func Address ¶
func Address(addr string) ServerOption
func Middleware ¶
func Middleware(m ...middleware.Middleware) ServerOption
func NetWork ¶
func NetWork(network string) ServerOption
func Timeout ¶
func Timeout(timeout time.Duration) ServerOption
Click to show internal directories.
Click to hide internal directories.