Documentation ¶
Index ¶
Constants ¶
View Source
const (
ThingsDeliverGroup = "things_timed_job_group"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle func(ctx context.Context) ServerEvent
type NatsClient ¶
type NatsClient struct {
// contains filtered or unexported fields
}
func (*NatsClient) Subscribe ¶
func (n *NatsClient) Subscribe(handle Handle) error
type ServerEvent ¶
type ServerEvent interface {
DataClean() error
}
Click to show internal directories.
Click to hide internal directories.