Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v1.2.3
Option represents a Runner configuration function
func WithController ¶ added in v1.2.3
func WithController(fn controllerFactory) Option
WithName is an Option to set Runner controller
func WithDefaultRPCController ¶ added in v1.2.3
func WithDefaultRPCController() Option
WithDefaultRPCController is an Option to set Runner controller to default rpc.Controller
func WithDefaultSubscriber ¶ added in v1.2.3
func WithDefaultSubscriber() Option
WithDefaultSubscriber is an Option to set Runner subscriber to pubsub.NewSubscriber
func WithSubscriber ¶ added in v1.2.3
func WithSubscriber(fn subscriberFactory) Option
WithSubscriber is an Option to set Runner subscriber
type Runner ¶ added in v1.1.0
type Runner struct {
// contains filtered or unexported fields
}
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)
type Shutdownable ¶ added in v1.1.0
type Shutdownable interface {
Shutdown() error
}
Click to show internal directories.
Click to hide internal directories.