Documentation ¶
Overview ¶
Package pulse provides ev cluster-management service based on pubsub.
Index ¶
- Constants
- func NewValidator(rt RoutingTable) pubsub.ValidatorEx
- type Heartbeat
- func (h *Heartbeat) Bind(msg *pubsub.Message) (err error)
- func (h Heartbeat) Meta() (routing.Meta, error)
- func (h *Heartbeat) ReadMessage(m *capnp.Message) (err error)
- func (h Heartbeat) Server() routing.ID
- func (h Heartbeat) SetMeta(fields []routing.MetaField) error
- func (h Heartbeat) SetServer(id routing.ID)
- func (h Heartbeat) SetTTL(d time.Duration)
- func (h Heartbeat) TTL() (d time.Duration)
- type Preparer
- type RoutingTable
Constants ¶
View Source
const DefaultTTL = time.Second * 10
Variables ¶
This section is empty.
Functions ¶
func NewValidator ¶
func NewValidator(rt RoutingTable) pubsub.ValidatorEx
Types ¶
type RoutingTable ¶
Click to show internal directories.
Click to hide internal directories.