Documentation
¶
Index ¶
- type Conn
- func (This *Conn) Close() bool
- func (This *Conn) Connect() bool
- func (This *Conn) Del(key string) (bool, error)
- func (This *Conn) GetConnStatus() string
- func (This *Conn) HeartCheck()
- func (This *Conn) Insert(key string, data interface{}) (bool, error)
- func (This *Conn) ReConnect() bool
- func (This *Conn) SendAndNoWait(exchange *string, routingkey *string, c *[]byte, DeliveryMode *uint8) (bool, error)
- func (This *Conn) SendAndWait(exchange *string, routingkey *string, c *[]byte, DeliveryMode *uint8) (bool, error)
- func (This *Conn) SendToList(key string, data interface{}) (bool, error)
- func (This *Conn) SetConnStatus(status string)
- func (This *Conn) SetExpir(TimeOut int)
- func (This *Conn) SetMustBeSuccess(b bool)
- func (This *Conn) Update(key string, data interface{}) (bool, error)
- type MyConn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { Uri string // contains filtered or unexported fields }
func (*Conn) GetConnStatus ¶
func (*Conn) HeartCheck ¶
func (This *Conn) HeartCheck()
func (*Conn) SendAndNoWait ¶
func (*Conn) SendAndWait ¶
func (*Conn) SetConnStatus ¶
func (*Conn) SetMustBeSuccess ¶
type MyConn ¶
type MyConn struct{}
func (*MyConn) GetTypeAndRule ¶
func (MyConn *MyConn) GetTypeAndRule() driver.TypeAndRule
func (*MyConn) GetUriExample ¶
Click to show internal directories.
Click to hide internal directories.