Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, addr string, c controller.Controller) error
Run creates the HTTP handler based on an implementation of a controller.Controller interface, and begins to listen on the specified address.
func RunTLS ¶
func RunTLS(ctx context.Context, addr string, cert string, key string, c controller.Controller) error
RunTLS creates the HTTPS handler based on an implementation of a controller.Controller interface, and begins to listen on the specified address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.