mq

package module
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 12 Imported by: 0

README

amf_mq

Documentation

Index

Constants

View Source
const (
	INSERT_QUEUE = `INSERT INTO QT___QUEUE_NAME__ (queue_id,queue_data, queued_time, queued_by) values ($1,$2,$3,$4)`
	SELECT_QUEUE = `` /* 192-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type NMQType

type NMQType struct {
	// contains filtered or unexported fields
}

func (*NMQType) Backout

func (nmq *NMQType) Backout() error

func (*NMQType) Close

func (nmq *NMQType) Close() error

func (*NMQType) Commit

func (nmq *NMQType) Commit() error

func (*NMQType) Connect

func (nmq *NMQType) Connect(shared bool) error

func (*NMQType) Disconnect

func (nmq *NMQType) Disconnect() error

func (*NMQType) Get

func (nmq *NMQType) Get(wait int64) (data []byte, err error)

func (*NMQType) GetUUID

func (nmq *NMQType) GetUUID() uuid.UUID

func (*NMQType) Init

func (nmq *NMQType) Init(name, host, port, channel string)

func (*NMQType) OpenQueue

func (nmq *NMQType) OpenQueue(qname string) error

func (*NMQType) Ping

func (nmq *NMQType) Ping() bool

func (*NMQType) Put

func (nmq *NMQType) Put(qname string, data []byte) (err error)

func (*NMQType) Stat

func (nmq *NMQType) Stat(qname string) bool

type NMQType2

type NMQType2 struct {
	// contains filtered or unexported fields
}

func (*NMQType2) Backout

func (nmq *NMQType2) Backout() error

func (*NMQType2) Close

func (nmq *NMQType2) Close() error

func (*NMQType2) Commit

func (nmq *NMQType2) Commit() error

func (*NMQType2) Connect

func (nmq *NMQType2) Connect(shared bool) error

func (*NMQType2) Disconnect

func (nmq *NMQType2) Disconnect() error

func (*NMQType2) Get

func (nmq *NMQType2) Get(wait int64) (data []byte, err error)

func (*NMQType2) GetUUID

func (nmq *NMQType2) GetUUID() uuid.UUID

func (*NMQType2) Init

func (nmq *NMQType2) Init(name, host, port, channel string)

func (*NMQType2) OpenQueue

func (nmq *NMQType2) OpenQueue(qname string) error

func (*NMQType2) Ping

func (nmq *NMQType2) Ping() bool

func (*NMQType2) Put

func (nmq *NMQType2) Put(qname string, data []byte) (err error)

func (*NMQType2) Stat

func (nmq *NMQType2) Stat(qname string) bool

type PMQType

type PMQType struct {
	// contains filtered or unexported fields
}

func (*PMQType) Backout

func (pmq *PMQType) Backout() error

func (*PMQType) Commit

func (pmq *PMQType) Commit() error

func (*PMQType) Connect

func (pmq *PMQType) Connect(shared bool) error

func (*PMQType) Disconnect

func (pmq *PMQType) Disconnect() error

func (*PMQType) Get

func (pmq *PMQType) Get(wait int64) (data []byte, err error)

func (*PMQType) GetUUID

func (pmq *PMQType) GetUUID() uuid.UUID

func (*PMQType) Init

func (pmq *PMQType) Init(name, host, port, channel string)

func (*PMQType) OpenQueue

func (pmq *PMQType) OpenQueue(qname string) error

func (*PMQType) Ping

func (pmq *PMQType) Ping() bool

func (*PMQType) Put

func (pmq *PMQType) Put(qname string, data []byte) (err error)

func (*PMQType) Stat

func (pmq *PMQType) Stat(qname string) bool

type SQSType

type SQSType struct {
	AccessKeyId    string
	SecretKey      string
	Region         string
	QueueName      string
	MessageGroupId string
	Handle         []byte
	Client         *sqs.SQS
}

func (*SQSType) Backout

func (s *SQSType) Backout() error

func (*SQSType) Commit

func (s *SQSType) Commit() error

func (*SQSType) Connect

func (s *SQSType) Connect(shared bool) error

func (*SQSType) Disconnect

func (s *SQSType) Disconnect() error

func (*SQSType) Get

func (s *SQSType) Get(wait int64) (data []byte, handle []byte, err error)

func (*SQSType) GetUUID

func (s *SQSType) GetUUID() uuid.UUID

func (*SQSType) Init

func (s *SQSType) Init(accesskeyid, secretkey, region, msgGroupId string)

func (*SQSType) OpenQueue

func (s *SQSType) OpenQueue(qname string) error

func (*SQSType) Ping

func (s *SQSType) Ping() bool

func (*SQSType) Put

func (s *SQSType) Put(qname string, data []byte) (err error)

func (*SQSType) SetHandle

func (s *SQSType) SetHandle(handle []byte) error

func (*SQSType) Stat

func (s *SQSType) Stat(qname string) bool

Jump to

Keyboard shortcuts

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