Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleBase ¶
type ModuleBase struct {
// contains filtered or unexported fields
}
ModuleBase is an embeddable base for all UberFx modules
func NewModuleBase ¶
func NewModuleBase( name string, service service.Host, roles []string, ) *ModuleBase
NewModuleBase configures a new ModuleBase
func (ModuleBase) Host ¶
func (mb ModuleBase) Host() service.Host
Host returns the module's service host
func (ModuleBase) Tracer ¶
func (mb ModuleBase) Tracer() opentracing.Tracer
Tracer returns the module's service tracer
type ModuleConfig ¶
type ModuleConfig struct {
Roles []string `yaml:"roles"`
}
A ModuleConfig holds configuration for a mobule
type Option ¶
type Option func(*service.ModuleCreateInfo) error
Option is a function that configures module creation
Directories
¶
Path | Synopsis |
---|---|
Package rpc is the RPC Module.
|
Package rpc is the RPC Module. |
thriftrw-plugin-thriftsync
Package main is the Overview.
|
Package main is the Overview. |
Package task is the Asynchronous Task Execution Module.
|
Package task is the Asynchronous Task Execution Module. |
Package uhttp is the HTTP Module.
|
Package uhttp is the HTTP Module. |
Click to show internal directories.
Click to hide internal directories.