Documentation
¶
Index ¶
- type Session
- func (sess *Session) GetConsumer() *pr.Consumer
- func (sess *Session) GetLogged() bool
- func (sess *Session) GetSessionImpl() *bi.SessionImpl
- func (sess *Session) SetConsumer(consumer *pr.Consumer)
- func (sess *Session) SetLogged(logged bool)
- func (sess *Session) Subscribe(topicID string, executeFunc func(sess sp.Session, topicID string) error) error
- func (sess *Session) Unsubscribe(topicID string, executeFunc func(sess sp.Session, topicID string))
- func (sess *Session) UnsubscribeAll(executeFunc func(sess sp.Session, topicID string))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session Session
func NewSession ¶
NewSession NewSession
func (*Session) GetConsumer ¶
GetConsumer GetConsumer
func (*Session) GetSessionImpl ¶
func (sess *Session) GetSessionImpl() *bi.SessionImpl
GetSessionImpl GetSessionImpl
func (*Session) SetConsumer ¶
SetConsumer SetConsumer
func (*Session) Subscribe ¶
func (sess *Session) Subscribe(topicID string, executeFunc func(sess sp.Session, topicID string) error) error
Subscribe Subscribe
func (*Session) Unsubscribe ¶
Unsubscribe Unsubscribe
Click to show internal directories.
Click to hide internal directories.