rabbitmq

package
v1.0.0-release Latest Latest
Warning

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

Go to latest
Published: May 13, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) Close

func (This *Conn) Close() bool

func (*Conn) Connect

func (This *Conn) Connect() bool

func (*Conn) Del

func (This *Conn) Del(key string) (bool, error)

func (*Conn) GetConnStatus

func (This *Conn) GetConnStatus() string

func (*Conn) HeartCheck

func (This *Conn) HeartCheck()

func (*Conn) Insert

func (This *Conn) Insert(key string, data interface{}) (bool, error)

func (*Conn) ReConnect

func (This *Conn) ReConnect() bool

func (*Conn) SendAndNoWait

func (This *Conn) SendAndNoWait(exchange *string, routingkey *string, c *[]byte, DeliveryMode *uint8) (bool, error)

func (*Conn) SendAndWait

func (This *Conn) SendAndWait(exchange *string, routingkey *string, c *[]byte, DeliveryMode *uint8) (bool, error)

func (*Conn) SendToList

func (This *Conn) SendToList(key string, data interface{}) (bool, error)

func (*Conn) SetConnStatus

func (This *Conn) SetConnStatus(status string)

func (*Conn) SetExpir

func (This *Conn) SetExpir(TimeOut int)

func (*Conn) SetMustBeSuccess

func (This *Conn) SetMustBeSuccess(b bool)

func (*Conn) Update

func (This *Conn) Update(key string, data interface{}) (bool, error)

type MyConn

type MyConn struct{}

func (*MyConn) CheckUri

func (MyConn *MyConn) CheckUri(uri string) error

func (*MyConn) GetDoc

func (MyConn *MyConn) GetDoc() string

func (*MyConn) GetTypeAndRule

func (MyConn *MyConn) GetTypeAndRule() driver.TypeAndRule

func (*MyConn) GetUriExample

func (MyConn *MyConn) GetUriExample() string

func (*MyConn) Open

func (MyConn *MyConn) Open(uri string) driver.ConnFun

Jump to

Keyboard shortcuts

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