Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDepRunning = errors.New("dependencies is already running") ErrDepNotRunning = errors.New("dependencies are not running yet") ErrDepEmpty = errors.New("dependencies is empty") ErrDepUnknown = errors.New("unknown dependency") ErrBadAction = errors.New("is not a supported action") )
Functions ¶
func OnSyscallStop ¶
func OnSyscallStop(callFunc func())
func OnSyscallUp ¶
func OnSyscallUp(callFunc func())
func WrapErrors ¶
Types ¶
type ConfigLogger ¶
type ConfigLogger struct {
Env string `yaml:"env" json:"env"`
LogFile string `yaml:"log" json:"log"`
}
func (ConfigLogger) MarshalEasyJSON ¶
func (v ConfigLogger) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ConfigLogger) MarshalJSON ¶
func (v ConfigLogger) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ConfigLogger) UnmarshalEasyJSON ¶
func (v *ConfigLogger) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ConfigLogger) UnmarshalJSON ¶
func (v *ConfigLogger) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DI ¶
type DI struct {
// contains filtered or unexported fields
}
DI - managing dependencies
type ForceClose ¶
type ForceClose struct {
C context.Context
Close context.CancelFunc
}
type ServiceInterface ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.