Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpServer ¶
func NewHttpServer(opts ...ServerOption) *server
Types ¶
type ServerOption ¶
type ServerOption func(s *server)
func WithIsRegister ¶
func WithIsRegister(isRegister bool) ServerOption
func WithServerAddress ¶
func WithServerAddress(address string) ServerOption
func WithServerHandler ¶
func WithServerHandler(handler http.Handler) ServerOption
Click to show internal directories.
Click to hide internal directories.