Documentation
¶
Index ¶
- func ContextWithServerInfo(ctx context.Context) context.Context
- func NewHook(addr string, handler http.Handler, options ...func(server *http.Server)) fx.Hook
- func Port(ctx context.Context) int
- func StartServer(ctx context.Context, bind string, handler http.Handler, ...) (func(ctx context.Context) error, error)
- func Started(ctx context.Context) chan struct{}
- func StartedServer(ctx context.Context, listener net.Listener)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.