configapi

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

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

func (state *State) Description() string

Description return the process description

func (*State) Features

func (state *State) Features() []process.Feature

Features return the process features

func (*State) HTTPHandler

func (state *State) HTTPHandler() http.Handler

HTTPHandler returns the HTTP API the process expose

func (*State) Initialize

func (state *State) Initialize(provider process.Provider) error

Initialize the process

func (*State) Name

func (state *State) Name() string

Name return the process name

func (*State) Subscribers

func (state *State) Subscribers() []process.SubscriberDef

Subscribers return the process subscribers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL