se

package
v0.0.0-...-f7687f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func NewSession(conn bi.Conn, protocol bi.Protocol, timeout time.Duration) *Session

NewSession NewSession

func (*Session) GetConsumer

func (sess *Session) GetConsumer() *pr.Consumer

GetConsumer GetConsumer

func (*Session) GetLogged

func (sess *Session) GetLogged() bool

GetLogged GetLogged

func (*Session) GetSessionImpl

func (sess *Session) GetSessionImpl() *bi.SessionImpl

GetSessionImpl GetSessionImpl

func (*Session) SetConsumer

func (sess *Session) SetConsumer(consumer *pr.Consumer)

SetConsumer SetConsumer

func (*Session) SetLogged

func (sess *Session) SetLogged(logged bool)

SetLogged SetLogged

func (*Session) Subscribe

func (sess *Session) Subscribe(topicID string, executeFunc func(sess sp.Session, topicID string) error) error

Subscribe Subscribe

func (*Session) Unsubscribe

func (sess *Session) Unsubscribe(topicID string, executeFunc func(sess sp.Session, topicID string))

Unsubscribe Unsubscribe

func (*Session) UnsubscribeAll

func (sess *Session) UnsubscribeAll(executeFunc func(sess sp.Session, topicID string))

UnsubscribeAll UnsubscribeAll

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL