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 PollRep ¶
type PollRep struct {
// contains filtered or unexported fields
}
func NewPollRep ¶
func NewPollRep(a *Addr, s SessionType) *PollRep
func (PollRep) ProtoId ¶
func (p PollRep) ProtoId() proto.ProtoIdType
type PollReq ¶
type PollReq struct {
// contains filtered or unexported fields
}
func NewPollReq ¶
func NewPollReq(a *Addr, s SessionType) *PollReq
func (PollReq) ProtoId ¶
func (p PollReq) ProtoId() proto.ProtoIdType
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.