Documentation
¶
Index ¶
- type MqClient
- func (m *MqClient) Active(mq string, id uint64) (err error)
- func (m *MqClient) CreateMq(mq string) (err error)
- func (m *MqClient) Delete(mq string, id uint64) (err error)
- func (m *MqClient) DeleteKeyValue(mq string, key string) (err error)
- func (m *MqClient) DeleteMq(mq string) (err error)
- func (m *MqClient) Drop(mq string) (err error)
- func (m *MqClient) GetKeyValue(mq string, key string) (value *definition.Value, ok bool, err error)
- func (m *MqClient) Len(mq string) (int, error)
- func (m *MqClient) Ping() (err error)
- func (m *MqClient) Pop(mq string, num int) (msgs []definition.Msg, err error)
- func (m *MqClient) Push(mq string, msg string) (id uint64, err error)
- func (m *MqClient) Read(mq string, num int, timeout time.Duration) (msgs []definition.Msg, err error)
- func (m *MqClient) SetKeyValue(mq string, key string, value string, expire time.Duration) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MqClient ¶
type MqClient struct {
// contains filtered or unexported fields
}
func (*MqClient) DeleteKeyValue ¶ added in v0.0.2
func (*MqClient) GetKeyValue ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.