Documentation ¶
Index ¶
- type State
- func (state *State) CustomFlags() []cli.Flag
- func (state *State) Description() string
- func (state *State) Features() []process.Feature
- func (state *State) HTTPHandler() http.Handler
- func (state *State) Initialize(provider process.Provider) error
- func (state *State) Name() string
- func (state *State) Subscribers() []process.SubscriberDef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
State represent the application state
func (*State) CustomFlags ¶
func (state *State) CustomFlags() []cli.Flag
CustomFlags return process custom flags
func (*State) Description ¶
Description return the process description
func (*State) HTTPHandler ¶
HTTPHandler returns the HTTP API the process expose
func (*State) Initialize ¶
Initialize the process
func (*State) Subscribers ¶
func (state *State) Subscribers() []process.SubscriberDef
Subscribers return the process subscribers
Click to show internal directories.
Click to hide internal directories.