Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer interface {
// SetupServer is the place where a service can adjust and initialize
// everything it requires to successfully initialize the HTTP server later.
SetupServer(
serviceName string,
logger interface{},
router *router.Router,
apiHandlers interface{},
authHandler func(ctx context.Context, handlers map[string]interface{}) error,
) error
}
HttpServer is the behaviour that a service must implement to be accepted as a valid framework HTTP service.
Click to show internal directories.
Click to hide internal directories.