Documentation ¶
Index ¶
- Constants
- Variables
- type Ack
- type App
- func (a *App) OnGetSupFlag(ctx actor.Context) (supFlag rigger.SupervisorFlag, childSpecs []*rigger.SpawnSpec)
- func (a *App) OnPostStarted(ctx actor.Context, args interface{})
- func (a *App) OnRestarting(ctx actor.Context)
- func (a *App) OnStarted(ctx actor.Context, args interface{}) error
- func (a *App) OnStopped(ctx actor.Context)
- func (a *App) OnStopping(ctx actor.Context)
- type CancelConsume
- func (*CancelConsume) Descriptor() ([]byte, []int)
- func (this *CancelConsume) Equal(that interface{}) bool
- func (m *CancelConsume) GetConsumer() string
- func (m *CancelConsume) GetNoWait() bool
- func (this *CancelConsume) GoString() string
- func (m *CancelConsume) Marshal() (dAtA []byte, err error)
- func (m *CancelConsume) MarshalTo(dAtA []byte) (int, error)
- func (*CancelConsume) ProtoMessage()
- func (m *CancelConsume) Reset()
- func (m *CancelConsume) Size() (n int)
- func (this *CancelConsume) String() string
- func (m *CancelConsume) Unmarshal(dAtA []byte) error
- func (m *CancelConsume) XXX_DiscardUnknown()
- func (m *CancelConsume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelConsume) XXX_Merge(src proto.Message)
- func (m *CancelConsume) XXX_Size() int
- func (m *CancelConsume) XXX_Unmarshal(b []byte) error
- type Channel
- func (channel *Channel) Ack(tag uint64, multiple bool) error
- func (channel *Channel) CancelConsume(consumer string, noWait bool) error
- func (channel *Channel) Close() error
- func (channel *Channel) Consume(config ConsumeConfig) error
- func (*Channel) Descriptor() ([]byte, []int)
- func (this *Channel) Equal(that interface{}) bool
- func (channel *Channel) ExchangeBind(config *ExchangeBindConfig) error
- func (channel *Channel) ExchangeDeclare(config *ExchangeDeclareConfig) error
- func (channel *Channel) ExchangeDelete(config *ExchangeDeleteConfig) error
- func (channel *Channel) ExchangeUnbind(config *ExchangeUnbindConfig) error
- func (m *Channel) GetPid() *actor.PID
- func (this *Channel) GoString() string
- func (m *Channel) Marshal() (dAtA []byte, err error)
- func (m *Channel) MarshalTo(dAtA []byte) (int, error)
- func (channel *Channel) Nack(tag uint64, multiple bool, requeue bool) error
- func (channel *Channel) NotifyClosed(ctx actor.Context)
- func (*Channel) ProtoMessage()
- func (channel *Channel) Publish(publish *Publish) error
- func (channel *Channel) PublishAsync(publish *Publish)
- func (channel *Channel) QueueBind(config *QueueBindConfig) error
- func (channel *Channel) QueueDeclare(config *QueueDeclareConfig) (*QueueInspection, error)
- func (channel *Channel) QueueDelete(config *QueueDeleteConfig) (int, error)
- func (channel *Channel) QueueInspect(config *QueueInspectConfig) (*QueueInspection, error)
- func (channel *Channel) QueuePurge(config *QueuePurgeConfig) (int, error)
- func (channel *Channel) QueueUnbind(config *QueueUnbindConfig) error
- func (channel *Channel) Reject(tag uint64, requeue bool) error
- func (m *Channel) Reset()
- func (m *Channel) Size() (n int)
- func (this *Channel) String() string
- func (m *Channel) Unmarshal(dAtA []byte) error
- func (m *Channel) XXX_DiscardUnknown()
- func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Channel) XXX_Merge(src proto.Message)
- func (m *Channel) XXX_Size() int
- func (m *Channel) XXX_Unmarshal(b []byte) error
- type Closed
- type ConnectConfig
- func (*ConnectConfig) Descriptor() ([]byte, []int)
- func (this *ConnectConfig) Equal(that interface{}) bool
- func (m *ConnectConfig) GetHost() string
- func (m *ConnectConfig) GetPassword() string
- func (m *ConnectConfig) GetPort() int32
- func (m *ConnectConfig) GetTag() string
- func (m *ConnectConfig) GetUser() string
- func (m *ConnectConfig) GetVirtualHost() string
- func (this *ConnectConfig) GoString() string
- func (m *ConnectConfig) Marshal() (dAtA []byte, err error)
- func (m *ConnectConfig) MarshalTo(dAtA []byte) (int, error)
- func (*ConnectConfig) ProtoMessage()
- func (m *ConnectConfig) Reset()
- func (m *ConnectConfig) Size() (n int)
- func (this *ConnectConfig) String() string
- func (m *ConnectConfig) Unmarshal(dAtA []byte) error
- func (config *ConnectConfig) Uri() string
- func (m *ConnectConfig) XXX_DiscardUnknown()
- func (m *ConnectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectConfig) XXX_Merge(src proto.Message)
- func (m *ConnectConfig) XXX_Size() int
- func (m *ConnectConfig) XXX_Unmarshal(b []byte) error
- type ConnectResp
- func (*ConnectResp) Descriptor() ([]byte, []int)
- func (this *ConnectResp) Equal(that interface{}) bool
- func (m *ConnectResp) GetConn() *Connection
- func (m *ConnectResp) GetError() string
- func (this *ConnectResp) GoString() string
- func (m *ConnectResp) Marshal() (dAtA []byte, err error)
- func (m *ConnectResp) MarshalTo(dAtA []byte) (int, error)
- func (*ConnectResp) ProtoMessage()
- func (m *ConnectResp) Reset()
- func (m *ConnectResp) Size() (n int)
- func (this *ConnectResp) String() string
- func (m *ConnectResp) Unmarshal(dAtA []byte) error
- func (m *ConnectResp) XXX_DiscardUnknown()
- func (m *ConnectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectResp) XXX_Merge(src proto.Message)
- func (m *ConnectResp) XXX_Size() int
- func (m *ConnectResp) XXX_Unmarshal(b []byte) error
- type Connected
- type Connection
- func (conn *Connection) Close() error
- func (*Connection) Descriptor() ([]byte, []int)
- func (this *Connection) Equal(that interface{}) bool
- func (m *Connection) GetPid() *actor.PID
- func (m *Connection) GetTag() string
- func (this *Connection) GoString() string
- func (m *Connection) Marshal() (dAtA []byte, err error)
- func (m *Connection) MarshalTo(dAtA []byte) (int, error)
- func (conn *Connection) NotifyClosed(pid *actor.PID) error
- func (conn *Connection) NotifyConnected(pid *actor.PID) error
- func (conn *Connection) OpenChannel() (*Channel, error)
- func (*Connection) ProtoMessage()
- func (m *Connection) Reset()
- func (m *Connection) Size() (n int)
- func (this *Connection) String() string
- func (conn *Connection) UnNotifyClosed(pid *actor.PID)
- func (conn *Connection) UnNotifyConnected(pid *actor.PID)
- func (m *Connection) Unmarshal(dAtA []byte) error
- func (m *Connection) XXX_DiscardUnknown()
- func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Connection) XXX_Merge(src proto.Message)
- func (m *Connection) XXX_Size() int
- func (m *Connection) XXX_Unmarshal(b []byte) error
- type ConnectionClosed
- type ConsumeConfig
- type Delivery
- type ErrorConnInvalid
- type ErrorFindNoPid
- type ExchangeBindConfig
- type ExchangeDeclareConfig
- type ExchangeDeleteConfig
- type ExchangeKind
- type ExchangeUnbindConfig
- type Nack
- type OpenChannel
- func (*OpenChannel) Descriptor() ([]byte, []int)
- func (this *OpenChannel) Equal(that interface{}) bool
- func (this *OpenChannel) GoString() string
- func (m *OpenChannel) Marshal() (dAtA []byte, err error)
- func (m *OpenChannel) MarshalTo(dAtA []byte) (int, error)
- func (*OpenChannel) ProtoMessage()
- func (m *OpenChannel) Reset()
- func (m *OpenChannel) Size() (n int)
- func (this *OpenChannel) String() string
- func (m *OpenChannel) Unmarshal(dAtA []byte) error
- func (m *OpenChannel) XXX_DiscardUnknown()
- func (m *OpenChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenChannel) XXX_Merge(src proto.Message)
- func (m *OpenChannel) XXX_Size() int
- func (m *OpenChannel) XXX_Unmarshal(b []byte) error
- type OpenChannelResp
- func (*OpenChannelResp) Descriptor() ([]byte, []int)
- func (this *OpenChannelResp) Equal(that interface{}) bool
- func (m *OpenChannelResp) GetChannel() *Channel
- func (m *OpenChannelResp) GetError() string
- func (this *OpenChannelResp) GoString() string
- func (m *OpenChannelResp) Marshal() (dAtA []byte, err error)
- func (m *OpenChannelResp) MarshalTo(dAtA []byte) (int, error)
- func (*OpenChannelResp) ProtoMessage()
- func (m *OpenChannelResp) Reset()
- func (m *OpenChannelResp) Size() (n int)
- func (this *OpenChannelResp) String() string
- func (m *OpenChannelResp) Unmarshal(dAtA []byte) error
- func (m *OpenChannelResp) XXX_DiscardUnknown()
- func (m *OpenChannelResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenChannelResp) XXX_Merge(src proto.Message)
- func (m *OpenChannelResp) XXX_Size() int
- func (m *OpenChannelResp) XXX_Unmarshal(b []byte) error
- type Publish
- type QueueBindConfig
- type QueueDeclareConfig
- type QueueDeleteConfig
- type QueueDeleteResp
- func (*QueueDeleteResp) Descriptor() ([]byte, []int)
- func (this *QueueDeleteResp) Equal(that interface{}) bool
- func (m *QueueDeleteResp) GetError() string
- func (m *QueueDeleteResp) GetPurged() int32
- func (this *QueueDeleteResp) GoString() string
- func (m *QueueDeleteResp) Marshal() (dAtA []byte, err error)
- func (m *QueueDeleteResp) MarshalTo(dAtA []byte) (int, error)
- func (*QueueDeleteResp) ProtoMessage()
- func (m *QueueDeleteResp) Reset()
- func (m *QueueDeleteResp) Size() (n int)
- func (this *QueueDeleteResp) String() string
- func (m *QueueDeleteResp) Unmarshal(dAtA []byte) error
- func (m *QueueDeleteResp) XXX_DiscardUnknown()
- func (m *QueueDeleteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueueDeleteResp) XXX_Merge(src proto.Message)
- func (m *QueueDeleteResp) XXX_Size() int
- func (m *QueueDeleteResp) XXX_Unmarshal(b []byte) error
- type QueueInspectConfig
- type QueueInspection
- func (*QueueInspection) Descriptor() ([]byte, []int)
- func (this *QueueInspection) Equal(that interface{}) bool
- func (m *QueueInspection) GetConsumers() int32
- func (m *QueueInspection) GetError() string
- func (m *QueueInspection) GetMessages() int32
- func (m *QueueInspection) GetName() string
- func (this *QueueInspection) GoString() string
- func (m *QueueInspection) Marshal() (dAtA []byte, err error)
- func (m *QueueInspection) MarshalTo(dAtA []byte) (int, error)
- func (*QueueInspection) ProtoMessage()
- func (m *QueueInspection) Reset()
- func (m *QueueInspection) Size() (n int)
- func (this *QueueInspection) String() string
- func (m *QueueInspection) Unmarshal(dAtA []byte) error
- func (m *QueueInspection) XXX_DiscardUnknown()
- func (m *QueueInspection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueueInspection) XXX_Merge(src proto.Message)
- func (m *QueueInspection) XXX_Size() int
- func (m *QueueInspection) XXX_Unmarshal(b []byte) error
- type QueuePurgeConfig
- type QueueUnbindConfig
- type Reject
- type Session
Constants ¶
View Source
const AppName = "go-rigger-amqp-app"
Variables ¶
View Source
var ( ErrInvalidLengthMessages = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMessages = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { }
func (*App) OnGetSupFlag ¶
func (*App) OnPostStarted ¶
func (*App) OnRestarting ¶
func (*App) OnStopping ¶
type CancelConsume ¶
type CancelConsume struct { Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` NoWait bool `protobuf:"varint,2,opt,name=noWait,proto3" json:"noWait,omitempty"` }
func (*CancelConsume) Descriptor ¶
func (*CancelConsume) Descriptor() ([]byte, []int)
func (*CancelConsume) Equal ¶
func (this *CancelConsume) Equal(that interface{}) bool
func (*CancelConsume) GetConsumer ¶
func (m *CancelConsume) GetConsumer() string
func (*CancelConsume) GetNoWait ¶
func (m *CancelConsume) GetNoWait() bool
func (*CancelConsume) GoString ¶
func (this *CancelConsume) GoString() string
func (*CancelConsume) Marshal ¶
func (m *CancelConsume) Marshal() (dAtA []byte, err error)
func (*CancelConsume) ProtoMessage ¶
func (*CancelConsume) ProtoMessage()
func (*CancelConsume) Reset ¶
func (m *CancelConsume) Reset()
func (*CancelConsume) Size ¶
func (m *CancelConsume) Size() (n int)
func (*CancelConsume) String ¶
func (this *CancelConsume) String() string
func (*CancelConsume) Unmarshal ¶
func (m *CancelConsume) Unmarshal(dAtA []byte) error
func (*CancelConsume) XXX_DiscardUnknown ¶
func (m *CancelConsume) XXX_DiscardUnknown()
func (*CancelConsume) XXX_Marshal ¶
func (m *CancelConsume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelConsume) XXX_Merge ¶
func (m *CancelConsume) XXX_Merge(src proto.Message)
func (*CancelConsume) XXX_Size ¶
func (m *CancelConsume) XXX_Size() int
func (*CancelConsume) XXX_Unmarshal ¶
func (m *CancelConsume) XXX_Unmarshal(b []byte) error
type Channel ¶
type Channel struct {
Pid *actor.PID `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (*Channel) CancelConsume ¶
停止消费消息
func (*Channel) Descriptor ¶
func (*Channel) ExchangeBind ¶
func (channel *Channel) ExchangeBind(config *ExchangeBindConfig) error
func (*Channel) ExchangeDeclare ¶
func (channel *Channel) ExchangeDeclare(config *ExchangeDeclareConfig) error
func (*Channel) ExchangeDelete ¶
func (channel *Channel) ExchangeDelete(config *ExchangeDeleteConfig) error
func (*Channel) ExchangeUnbind ¶
func (channel *Channel) ExchangeUnbind(config *ExchangeUnbindConfig) error
func (*Channel) NotifyClosed ¶
注册频道的关闭监听, 监听后,如果频道关闭,监控进程会收到 *actor.Terminated 和监控连接关闭不一样, 监听通道实际上是监听的通道进程是否关闭 如果监听时, 通道已经关闭,则会立即收到一条 *actor.Terminated 消息
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) QueueBind ¶
func (channel *Channel) QueueBind(config *QueueBindConfig) error
func (*Channel) QueueDeclare ¶
func (channel *Channel) QueueDeclare(config *QueueDeclareConfig) (*QueueInspection, error)
func (*Channel) QueueDelete ¶
func (channel *Channel) QueueDelete(config *QueueDeleteConfig) (int, error)
func (*Channel) QueueInspect ¶
func (channel *Channel) QueueInspect(config *QueueInspectConfig) (*QueueInspection, error)
func (*Channel) QueuePurge ¶
func (channel *Channel) QueuePurge(config *QueuePurgeConfig) (int, error)
func (*Channel) QueueUnbind ¶
func (channel *Channel) QueueUnbind(config *QueueUnbindConfig) error
func (*Channel) XXX_DiscardUnknown ¶
func (m *Channel) XXX_DiscardUnknown()
func (*Channel) XXX_Marshal ¶
func (*Channel) XXX_Unmarshal ¶
type ConnectConfig ¶
type ConnectConfig struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` VirtualHost string `protobuf:"bytes,4,opt,name=virtualHost,proto3" json:"virtualHost,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` }
func (*ConnectConfig) Descriptor ¶
func (*ConnectConfig) Descriptor() ([]byte, []int)
func (*ConnectConfig) Equal ¶
func (this *ConnectConfig) Equal(that interface{}) bool
func (*ConnectConfig) GetHost ¶
func (m *ConnectConfig) GetHost() string
func (*ConnectConfig) GetPassword ¶
func (m *ConnectConfig) GetPassword() string
func (*ConnectConfig) GetPort ¶
func (m *ConnectConfig) GetPort() int32
func (*ConnectConfig) GetTag ¶
func (m *ConnectConfig) GetTag() string
func (*ConnectConfig) GetUser ¶
func (m *ConnectConfig) GetUser() string
func (*ConnectConfig) GetVirtualHost ¶
func (m *ConnectConfig) GetVirtualHost() string
func (*ConnectConfig) GoString ¶
func (this *ConnectConfig) GoString() string
func (*ConnectConfig) Marshal ¶
func (m *ConnectConfig) Marshal() (dAtA []byte, err error)
func (*ConnectConfig) ProtoMessage ¶
func (*ConnectConfig) ProtoMessage()
func (*ConnectConfig) Reset ¶
func (m *ConnectConfig) Reset()
func (*ConnectConfig) Size ¶
func (m *ConnectConfig) Size() (n int)
func (*ConnectConfig) String ¶
func (this *ConnectConfig) String() string
func (*ConnectConfig) Unmarshal ¶
func (m *ConnectConfig) Unmarshal(dAtA []byte) error
func (*ConnectConfig) XXX_DiscardUnknown ¶
func (m *ConnectConfig) XXX_DiscardUnknown()
func (*ConnectConfig) XXX_Marshal ¶
func (m *ConnectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectConfig) XXX_Merge ¶
func (m *ConnectConfig) XXX_Merge(src proto.Message)
func (*ConnectConfig) XXX_Size ¶
func (m *ConnectConfig) XXX_Size() int
func (*ConnectConfig) XXX_Unmarshal ¶
func (m *ConnectConfig) XXX_Unmarshal(b []byte) error
type ConnectResp ¶
type ConnectResp struct { Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"` Conn *Connection `protobuf:"bytes,2,opt,name=conn,proto3" json:"conn,omitempty"` }
func (*ConnectResp) Descriptor ¶
func (*ConnectResp) Descriptor() ([]byte, []int)
func (*ConnectResp) Equal ¶
func (this *ConnectResp) Equal(that interface{}) bool
func (*ConnectResp) GetConn ¶
func (m *ConnectResp) GetConn() *Connection
func (*ConnectResp) GetError ¶
func (m *ConnectResp) GetError() string
func (*ConnectResp) GoString ¶
func (this *ConnectResp) GoString() string
func (*ConnectResp) Marshal ¶
func (m *ConnectResp) Marshal() (dAtA []byte, err error)
func (*ConnectResp) ProtoMessage ¶
func (*ConnectResp) ProtoMessage()
func (*ConnectResp) Reset ¶
func (m *ConnectResp) Reset()
func (*ConnectResp) Size ¶
func (m *ConnectResp) Size() (n int)
func (*ConnectResp) String ¶
func (this *ConnectResp) String() string
func (*ConnectResp) Unmarshal ¶
func (m *ConnectResp) Unmarshal(dAtA []byte) error
func (*ConnectResp) XXX_DiscardUnknown ¶
func (m *ConnectResp) XXX_DiscardUnknown()
func (*ConnectResp) XXX_Marshal ¶
func (m *ConnectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectResp) XXX_Merge ¶
func (m *ConnectResp) XXX_Merge(src proto.Message)
func (*ConnectResp) XXX_Size ¶
func (m *ConnectResp) XXX_Size() int
func (*ConnectResp) XXX_Unmarshal ¶
func (m *ConnectResp) XXX_Unmarshal(b []byte) error
type Connected ¶
type Connected struct { Connection *Connection // 连接 IsReconnect bool // 是否是重连 }
连接成功的消息
type Connection ¶
type Connection struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Pid *actor.PID `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"` }
func (*Connection) Descriptor ¶
func (*Connection) Descriptor() ([]byte, []int)
func (*Connection) Equal ¶
func (this *Connection) Equal(that interface{}) bool
func (*Connection) GetPid ¶
func (m *Connection) GetPid() *actor.PID
func (*Connection) GetTag ¶
func (m *Connection) GetTag() string
func (*Connection) GoString ¶
func (this *Connection) GoString() string
func (*Connection) Marshal ¶
func (m *Connection) Marshal() (dAtA []byte, err error)
func (*Connection) NotifyClosed ¶
func (conn *Connection) NotifyClosed(pid *actor.PID) error
注册连接的关闭事件, 注册后,连接关闭时,会向监听进程发送消息: *riggerAmqp.ConnectionClosed 如果使用此函数注册监听时, 连接已经关闭, 则会立即触发一次事件
func (*Connection) NotifyConnected ¶
func (conn *Connection) NotifyConnected(pid *actor.PID) error
注册连接连接成功的事件, 注册后,如果连接连接成功, 则监听进程会收到消息: *riggerAmqp.Connected 如果注册时, 连接已经连接成功, 则会立即触发一次事件
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) Reset ¶
func (m *Connection) Reset()
func (*Connection) Size ¶
func (m *Connection) Size() (n int)
func (*Connection) String ¶
func (this *Connection) String() string
func (*Connection) UnNotifyClosed ¶
func (conn *Connection) UnNotifyClosed(pid *actor.PID)
func (*Connection) UnNotifyConnected ¶
func (conn *Connection) UnNotifyConnected(pid *actor.PID)
func (*Connection) Unmarshal ¶
func (m *Connection) Unmarshal(dAtA []byte) error
func (*Connection) XXX_DiscardUnknown ¶
func (m *Connection) XXX_DiscardUnknown()
func (*Connection) XXX_Marshal ¶
func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Connection) XXX_Merge ¶
func (m *Connection) XXX_Merge(src proto.Message)
func (*Connection) XXX_Size ¶
func (m *Connection) XXX_Size() int
func (*Connection) XXX_Unmarshal ¶
func (m *Connection) XXX_Unmarshal(b []byte) error
type ConnectionClosed ¶
type ConnectionClosed struct { Connection *Connection // 哪个连接断开了 Error error // 如果错误为空 }
连接关闭时的消息
type ConsumeConfig ¶
type ErrorConnInvalid ¶
type ErrorConnInvalid string
func (ErrorConnInvalid) Error ¶
func (e ErrorConnInvalid) Error() string
type ErrorFindNoPid ¶
type ErrorFindNoPid string
找不到进程ID
func (ErrorFindNoPid) Error ¶
func (e ErrorFindNoPid) Error() string
type ExchangeBindConfig ¶
type ExchangeDeclareConfig ¶
type ExchangeDeleteConfig ¶
type ExchangeKind ¶
type ExchangeKind string
const ( ExchangeKindDirect ExchangeKind = "direct" ExchangeKindFanout ExchangeKind = "fanout" ExchangeKindTopic ExchangeKind = "topic" ExchangeKindHeaders ExchangeKind = "headers" )
The common types are "direct", "fanout", "topic" and "headers".
type ExchangeUnbindConfig ¶
type OpenChannel ¶
type OpenChannel struct { }
打开频道
func (*OpenChannel) Descriptor ¶
func (*OpenChannel) Descriptor() ([]byte, []int)
func (*OpenChannel) Equal ¶
func (this *OpenChannel) Equal(that interface{}) bool
func (*OpenChannel) GoString ¶
func (this *OpenChannel) GoString() string
func (*OpenChannel) Marshal ¶
func (m *OpenChannel) Marshal() (dAtA []byte, err error)
func (*OpenChannel) ProtoMessage ¶
func (*OpenChannel) ProtoMessage()
func (*OpenChannel) Reset ¶
func (m *OpenChannel) Reset()
func (*OpenChannel) Size ¶
func (m *OpenChannel) Size() (n int)
func (*OpenChannel) String ¶
func (this *OpenChannel) String() string
func (*OpenChannel) Unmarshal ¶
func (m *OpenChannel) Unmarshal(dAtA []byte) error
func (*OpenChannel) XXX_DiscardUnknown ¶
func (m *OpenChannel) XXX_DiscardUnknown()
func (*OpenChannel) XXX_Marshal ¶
func (m *OpenChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenChannel) XXX_Merge ¶
func (m *OpenChannel) XXX_Merge(src proto.Message)
func (*OpenChannel) XXX_Size ¶
func (m *OpenChannel) XXX_Size() int
func (*OpenChannel) XXX_Unmarshal ¶
func (m *OpenChannel) XXX_Unmarshal(b []byte) error
type OpenChannelResp ¶
type OpenChannelResp struct { Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"` Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` }
func (*OpenChannelResp) Descriptor ¶
func (*OpenChannelResp) Descriptor() ([]byte, []int)
func (*OpenChannelResp) Equal ¶
func (this *OpenChannelResp) Equal(that interface{}) bool
func (*OpenChannelResp) GetChannel ¶
func (m *OpenChannelResp) GetChannel() *Channel
func (*OpenChannelResp) GetError ¶
func (m *OpenChannelResp) GetError() string
func (*OpenChannelResp) GoString ¶
func (this *OpenChannelResp) GoString() string
func (*OpenChannelResp) Marshal ¶
func (m *OpenChannelResp) Marshal() (dAtA []byte, err error)
func (*OpenChannelResp) ProtoMessage ¶
func (*OpenChannelResp) ProtoMessage()
func (*OpenChannelResp) Reset ¶
func (m *OpenChannelResp) Reset()
func (*OpenChannelResp) Size ¶
func (m *OpenChannelResp) Size() (n int)
func (*OpenChannelResp) String ¶
func (this *OpenChannelResp) String() string
func (*OpenChannelResp) Unmarshal ¶
func (m *OpenChannelResp) Unmarshal(dAtA []byte) error
func (*OpenChannelResp) XXX_DiscardUnknown ¶
func (m *OpenChannelResp) XXX_DiscardUnknown()
func (*OpenChannelResp) XXX_Marshal ¶
func (m *OpenChannelResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenChannelResp) XXX_Merge ¶
func (m *OpenChannelResp) XXX_Merge(src proto.Message)
func (*OpenChannelResp) XXX_Size ¶
func (m *OpenChannelResp) XXX_Size() int
func (*OpenChannelResp) XXX_Unmarshal ¶
func (m *OpenChannelResp) XXX_Unmarshal(b []byte) error
type QueueBindConfig ¶
type QueueDeclareConfig ¶
type QueueDeleteConfig ¶
type QueueDeleteResp ¶
type QueueDeleteResp struct { Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"` Purged int32 `protobuf:"varint,2,opt,name=purged,proto3" json:"purged,omitempty"` }
func (*QueueDeleteResp) Descriptor ¶
func (*QueueDeleteResp) Descriptor() ([]byte, []int)
func (*QueueDeleteResp) Equal ¶
func (this *QueueDeleteResp) Equal(that interface{}) bool
func (*QueueDeleteResp) GetError ¶
func (m *QueueDeleteResp) GetError() string
func (*QueueDeleteResp) GetPurged ¶
func (m *QueueDeleteResp) GetPurged() int32
func (*QueueDeleteResp) GoString ¶
func (this *QueueDeleteResp) GoString() string
func (*QueueDeleteResp) Marshal ¶
func (m *QueueDeleteResp) Marshal() (dAtA []byte, err error)
func (*QueueDeleteResp) ProtoMessage ¶
func (*QueueDeleteResp) ProtoMessage()
func (*QueueDeleteResp) Reset ¶
func (m *QueueDeleteResp) Reset()
func (*QueueDeleteResp) Size ¶
func (m *QueueDeleteResp) Size() (n int)
func (*QueueDeleteResp) String ¶
func (this *QueueDeleteResp) String() string
func (*QueueDeleteResp) Unmarshal ¶
func (m *QueueDeleteResp) Unmarshal(dAtA []byte) error
func (*QueueDeleteResp) XXX_DiscardUnknown ¶
func (m *QueueDeleteResp) XXX_DiscardUnknown()
func (*QueueDeleteResp) XXX_Marshal ¶
func (m *QueueDeleteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueueDeleteResp) XXX_Merge ¶
func (m *QueueDeleteResp) XXX_Merge(src proto.Message)
func (*QueueDeleteResp) XXX_Size ¶
func (m *QueueDeleteResp) XXX_Size() int
func (*QueueDeleteResp) XXX_Unmarshal ¶
func (m *QueueDeleteResp) XXX_Unmarshal(b []byte) error
type QueueInspectConfig ¶
type QueueInspectConfig struct {
Name string
}
type QueueInspection ¶
type QueueInspection struct { Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Messages int32 `protobuf:"varint,3,opt,name=messages,proto3" json:"messages,omitempty"` Consumers int32 `protobuf:"varint,4,opt,name=consumers,proto3" json:"consumers,omitempty"` }
func (*QueueInspection) Descriptor ¶
func (*QueueInspection) Descriptor() ([]byte, []int)
func (*QueueInspection) Equal ¶
func (this *QueueInspection) Equal(that interface{}) bool
func (*QueueInspection) GetConsumers ¶
func (m *QueueInspection) GetConsumers() int32
func (*QueueInspection) GetError ¶
func (m *QueueInspection) GetError() string
func (*QueueInspection) GetMessages ¶
func (m *QueueInspection) GetMessages() int32
func (*QueueInspection) GetName ¶
func (m *QueueInspection) GetName() string
func (*QueueInspection) GoString ¶
func (this *QueueInspection) GoString() string
func (*QueueInspection) Marshal ¶
func (m *QueueInspection) Marshal() (dAtA []byte, err error)
func (*QueueInspection) ProtoMessage ¶
func (*QueueInspection) ProtoMessage()
func (*QueueInspection) Reset ¶
func (m *QueueInspection) Reset()
func (*QueueInspection) Size ¶
func (m *QueueInspection) Size() (n int)
func (*QueueInspection) String ¶
func (this *QueueInspection) String() string
func (*QueueInspection) Unmarshal ¶
func (m *QueueInspection) Unmarshal(dAtA []byte) error
func (*QueueInspection) XXX_DiscardUnknown ¶
func (m *QueueInspection) XXX_DiscardUnknown()
func (*QueueInspection) XXX_Marshal ¶
func (m *QueueInspection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueueInspection) XXX_Merge ¶
func (m *QueueInspection) XXX_Merge(src proto.Message)
func (*QueueInspection) XXX_Size ¶
func (m *QueueInspection) XXX_Size() int
func (*QueueInspection) XXX_Unmarshal ¶
func (m *QueueInspection) XXX_Unmarshal(b []byte) error
type QueuePurgeConfig ¶
type QueueUnbindConfig ¶
Click to show internal directories.
Click to hide internal directories.