Documentation
¶
Index ¶
Constants ¶
View Source
const ( RegistryHost1Key = "registry-host1" RegistryHost2Key = "registry-host2" )
Origin map and host keys
View Source
const (
NamespaceName = "sql:postgres:agent/operations/postgres"
)
Variables ¶
View Source
var (
Agent messaging.Agent
)
View Source
var Serve = func() *Service { return &Service{ Message: func(msg *messaging.Message) bool { return true }, Advise: func(msg *messaging.Message) *messaging.Status { return messaging.StatusOK() }, SubscriptionCreate: func(msg *messaging.Message) { }, SubscriptionCancel: func(msg *messaging.Message) { }, Trace: func(name, task, observation, action string) { }, } }()
Serve -
Functions ¶
Types ¶
type Service ¶
type Service struct {
Message func(msg *messaging.Message) bool
Advise func(msg *messaging.Message) *messaging.Status
Trace func(name, task, observation, action string)
SubscriptionCreate func(msg *messaging.Message)
SubscriptionCancel func(msg *messaging.Message)
}
Service - in the real world
Click to show internal directories.
Click to hide internal directories.