Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application interface { ID() string Name() string Version() string BuiltAt() time.Time StartedAt() time.Time FQDN() string }
Application AFAIRE.
type Bus ¶
type Bus interface { AddPublisher(name string, chCapacity, consumer int) chan<- *message.Message Subscribe(cb func(*message.Message), reList ...string) error }
Bus AFAIRE.
type Container ¶
type Container interface { Util() Util Application() Application Logger() *logger.Logger Bus() Bus Leader() Leader Model() Model Server() Server }
Container AFAIRE.
type Model ¶
type Model interface { AllInstances() ([]*model.Instance, error) PluginConfig(plugin string, config interface{}) error InsertJob(job *jw.Job) error MaybeInsertJob(job *jw.Job) (bool, error) InsertWorkflow(wf *jw.Workflow) error }
Model AFAIRE.
type Util ¶
type Util interface { LoggerPrefix(name, id string) string CloneLogger(logger *logger.Logger, prefix string) *logger.Logger FileExist(file string) (bool, error) UnixToTime(timestamp string) time.Time DecodeData(input, output interface{}) error EncryptString(text string) (string, error) DecryptString(text string) (string, error) }
Util AFAIRE.
Click to show internal directories.
Click to hide internal directories.