Documentation ¶
Index ¶
Constants ¶
View Source
const ( RestartPolicyAlways = 0 RestartPolicyNever = 1 StatusAlive = 0 StatusStopped = 1 )
Variables ¶
View Source
var (
ErrDidNotReply = errors.New("did not reply")
)
Functions ¶
func GetMessage ¶
Types ¶
type Broadcast ¶
type Broadcast struct {
// contains filtered or unexported fields
}
func NewBroadcast ¶
type Message ¶
type Message struct { Data []byte Sender string Attempts int // contains filtered or unexported fields }
func NewMessage ¶
func (*Message) WantsReply ¶
type Reply ¶
type Reply struct {
// contains filtered or unexported fields
}
func NewReplyWithError ¶
Click to show internal directories.
Click to hide internal directories.