Documentation ¶
Index ¶
- func Config(args []string) (config.Config, error)
- func DebugMode() bool
- func PrintHelp()
- func ShowHelp() bool
- func ShowVersion() bool
- type Runner
- func (r *Runner) ControllerFactory(fn controllerFactory)
- func (r *Runner) DisconnectorFactory(fn disconnectorFactory)
- func (r *Runner) Router() *router.RouterController
- func (r *Runner) Run() error
- func (r *Runner) SetRouter(router *router.RouterController)
- func (r *Runner) SubscriberFactory(fn subscriberFactory)
- func (r *Runner) WebsocketHandler(fn websocketHandler)
- type Shutdownable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶ added in v1.1.0
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) ControllerFactory ¶ added in v1.1.0
func (r *Runner) ControllerFactory(fn controllerFactory)
func (*Runner) DisconnectorFactory ¶ added in v1.1.0
func (r *Runner) DisconnectorFactory(fn disconnectorFactory)
func (*Runner) Router ¶ added in v1.2.0
func (r *Runner) Router() *router.RouterController
func (*Runner) SetRouter ¶ added in v1.2.0
func (r *Runner) SetRouter(router *router.RouterController)
func (*Runner) SubscriberFactory ¶ added in v1.1.0
func (r *Runner) SubscriberFactory(fn subscriberFactory)
func (*Runner) WebsocketHandler ¶ added in v1.1.0
func (r *Runner) WebsocketHandler(fn websocketHandler)
type Shutdownable ¶ added in v1.1.0
type Shutdownable interface {
Shutdown() error
}
Click to show internal directories.
Click to hide internal directories.