Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // HttpAddr specifies the address to listen incoming HTTP connections HttpAddr string // could be empty // HttpPort specifies the listening port for the incoming HTTP connections HttpPort int // RestRegistrar is the endpoints registrar RestRegistrar EndpointsRegistrar }
Config provides the Http router configuration
type EndpointsRegistrar ¶
EndpointsRegistrar is a component which provides a callback for registering REST endpoints in the Router server
type Router ¶
type Router struct { linker.PostConstructor linker.Initializer linker.Shutdowner // contains filtered or unexported fields }
Router service manages http endpoints
func (*Router) PostConstruct ¶
func (r *Router) PostConstruct()
PostConstruct implements linker.PostConstructor
Click to show internal directories.
Click to hide internal directories.