Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pld ¶
type Pld struct { Id MsgIdType // contains filtered or unexported fields }
func NewPld ¶
func NewPld(id MsgIdType, u proto.Cerealizable) (*Pld, error)
NewPld creates a new SIG ctrl payload, containing the supplied Cerealizable instance.
func (*Pld) ProtoId ¶
func (p *Pld) ProtoId() proto.ProtoIdType
type Poll ¶ added in v0.4.0
type Poll struct { Addr *Addr Session SessionType }
func (*Poll) ProtoId ¶ added in v0.4.0
func (p *Poll) ProtoId() proto.ProtoIdType
type PollRep ¶
type PollRep struct {
*Poll
}
func NewPollRep ¶
func NewPollRep(a *Addr, s SessionType) *PollRep
type PollReq ¶
type PollReq struct {
*Poll
}
func NewPollReq ¶
func NewPollReq(a *Addr, s SessionType) *PollReq
type SessionType ¶
type SessionType uint8
func (SessionType) MarshalJSON ¶
func (st SessionType) MarshalJSON() ([]byte, error)
func (SessionType) String ¶
func (st SessionType) String() string
Click to show internal directories.
Click to hide internal directories.