Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebHandler ¶
type WebHandler struct {
// contains filtered or unexported fields
}
func (*WebHandler) GracefulStop ¶
func (w *WebHandler) GracefulStop() error
func (*WebHandler) Run ¶
func (w *WebHandler) Run() error
type WebRegistrator ¶
type WebRegistrator interface {
Register(router router.Registrator)
}
type WebService ¶
func NewWebService ¶
func NewWebService(port string, routerRegistrator router.Registrator, registrators ...WebRegistrator) WebService
Click to show internal directories.
Click to hide internal directories.