Documentation
¶
Index ¶
- type Message
- type MessageFlags
- type Obbus
- func (o *Obbus) Close(err error)
- func (o *Obbus) GetContext() context.Context
- func (o *Obbus) Ping(n int) (int, error)
- func (o *Obbus) PublishBuf(topic string, val []byte, flags *MessageFlags, rtopic string, ack bool) (int, error)
- func (o *Obbus) PublishDbl(topic string, val float64, flags *MessageFlags, rtopic string, ack bool) (int, error)
- func (o *Obbus) PublishInt(topic string, val int, flags *MessageFlags, rtopic string, ack bool) (int, error)
- func (o *Obbus) PublishStr(topic string, val string, flags *MessageFlags, rtopic string, ack bool) (int, error)
- func (o *Obbus) RpcBuf(path string, val []byte, flags *MessageFlags, tout time.Duration) (*Message, error)
- func (o *Obbus) RpcDbl(path string, val float64, flags *MessageFlags, tout time.Duration) (*Message, error)
- func (o *Obbus) RpcInt(path string, val int, flags *MessageFlags, tout time.Duration) (*Message, error)
- func (o *Obbus) RpcStr(path string, val string, flags *MessageFlags, tout time.Duration) (*Message, error)
- func (o *Obbus) SetTimeout(d time.Duration) error
- func (o *Obbus) SetTopicTable(table []string) error
- func (o *Obbus) Subscribe(ch chan *Message, path string) error
- func (o *Obbus) Unsubscribe(ch chan *Message, path string) error
- func (o *Obbus) UnsubscribeAll() (int, error)
- type ObbusOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
Topic string
Flags *MessageFlags
Rtopic string
// contains filtered or unexported fields
}
type MessageFlags ¶
func (*MessageFlags) String ¶
func (f *MessageFlags) String() string
type Obbus ¶
type Obbus struct {
SyncCmdTimeout time.Duration
Debug bool
DebugLabel string
// contains filtered or unexported fields
}
Obbus
func (*Obbus) GetContext ¶
func (*Obbus) PublishBuf ¶
func (*Obbus) PublishDbl ¶
func (*Obbus) PublishInt ¶
func (*Obbus) PublishStr ¶
func (*Obbus) SetTopicTable ¶
func (*Obbus) UnsubscribeAll ¶
Click to show internal directories.
Click to hide internal directories.