Documentation ¶
Index ¶
- func RegisterMessageServer(s *grpc.Server, srv MessageServer)
- type DeleteAppUUIDRequest
- func (*DeleteAppUUIDRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAppUUIDRequest) GetAppTag() string
- func (m *DeleteAppUUIDRequest) GetUUID() string
- func (*DeleteAppUUIDRequest) ProtoMessage()
- func (m *DeleteAppUUIDRequest) Reset()
- func (m *DeleteAppUUIDRequest) String() string
- func (m *DeleteAppUUIDRequest) XXX_DiscardUnknown()
- func (m *DeleteAppUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAppUUIDRequest) XXX_Merge(src proto.Message)
- func (m *DeleteAppUUIDRequest) XXX_Size() int
- func (m *DeleteAppUUIDRequest) XXX_Unmarshal(b []byte) error
- type DeleteExpireMsgRequest
- func (*DeleteExpireMsgRequest) Descriptor() ([]byte, []int)
- func (m *DeleteExpireMsgRequest) GetMsgId() string
- func (m *DeleteExpireMsgRequest) GetUUID() string
- func (*DeleteExpireMsgRequest) ProtoMessage()
- func (m *DeleteExpireMsgRequest) Reset()
- func (m *DeleteExpireMsgRequest) String() string
- func (m *DeleteExpireMsgRequest) XXX_DiscardUnknown()
- func (m *DeleteExpireMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteExpireMsgRequest) XXX_Merge(src proto.Message)
- func (m *DeleteExpireMsgRequest) XXX_Size() int
- func (m *DeleteExpireMsgRequest) XXX_Unmarshal(b []byte) error
- type DeleteGatewayUUIDRequest
- func (*DeleteGatewayUUIDRequest) Descriptor() ([]byte, []int)
- func (m *DeleteGatewayUUIDRequest) GetUUID() string
- func (*DeleteGatewayUUIDRequest) ProtoMessage()
- func (m *DeleteGatewayUUIDRequest) Reset()
- func (m *DeleteGatewayUUIDRequest) String() string
- func (m *DeleteGatewayUUIDRequest) XXX_DiscardUnknown()
- func (m *DeleteGatewayUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteGatewayUUIDRequest) XXX_Merge(src proto.Message)
- func (m *DeleteGatewayUUIDRequest) XXX_Size() int
- func (m *DeleteGatewayUUIDRequest) XXX_Unmarshal(b []byte) error
- type GetAppUUIDRequest
- func (*GetAppUUIDRequest) Descriptor() ([]byte, []int)
- func (m *GetAppUUIDRequest) GetAppTag() string
- func (*GetAppUUIDRequest) ProtoMessage()
- func (m *GetAppUUIDRequest) Reset()
- func (m *GetAppUUIDRequest) String() string
- func (m *GetAppUUIDRequest) XXX_DiscardUnknown()
- func (m *GetAppUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppUUIDRequest) XXX_Merge(src proto.Message)
- func (m *GetAppUUIDRequest) XXX_Size() int
- func (m *GetAppUUIDRequest) XXX_Unmarshal(b []byte) error
- type GetAppUUIDRespond
- func (*GetAppUUIDRespond) Descriptor() ([]byte, []int)
- func (m *GetAppUUIDRespond) GetCode() int32
- func (m *GetAppUUIDRespond) GetMsg() string
- func (m *GetAppUUIDRespond) GetUUIDs() []string
- func (*GetAppUUIDRespond) ProtoMessage()
- func (m *GetAppUUIDRespond) Reset()
- func (m *GetAppUUIDRespond) String() string
- func (m *GetAppUUIDRespond) XXX_DiscardUnknown()
- func (m *GetAppUUIDRespond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAppUUIDRespond) XXX_Merge(src proto.Message)
- func (m *GetAppUUIDRespond) XXX_Size() int
- func (m *GetAppUUIDRespond) XXX_Unmarshal(b []byte) error
- type GetGatewayUUIDRequest
- func (*GetGatewayUUIDRequest) Descriptor() ([]byte, []int)
- func (m *GetGatewayUUIDRequest) GetUUID() string
- func (*GetGatewayUUIDRequest) ProtoMessage()
- func (m *GetGatewayUUIDRequest) Reset()
- func (m *GetGatewayUUIDRequest) String() string
- func (m *GetGatewayUUIDRequest) XXX_DiscardUnknown()
- func (m *GetGatewayUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGatewayUUIDRequest) XXX_Merge(src proto.Message)
- func (m *GetGatewayUUIDRequest) XXX_Size() int
- func (m *GetGatewayUUIDRequest) XXX_Unmarshal(b []byte) error
- type GetGatewayUUIDRespond
- func (*GetGatewayUUIDRespond) Descriptor() ([]byte, []int)
- func (m *GetGatewayUUIDRespond) GetCode() int32
- func (m *GetGatewayUUIDRespond) GetGatewayAddr() string
- func (m *GetGatewayUUIDRespond) GetMsg() string
- func (*GetGatewayUUIDRespond) ProtoMessage()
- func (m *GetGatewayUUIDRespond) Reset()
- func (m *GetGatewayUUIDRespond) String() string
- func (m *GetGatewayUUIDRespond) XXX_DiscardUnknown()
- func (m *GetGatewayUUIDRespond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGatewayUUIDRespond) XXX_Merge(src proto.Message)
- func (m *GetGatewayUUIDRespond) XXX_Size() int
- func (m *GetGatewayUUIDRespond) XXX_Unmarshal(b []byte) error
- type MessageClient
- type MessageServer
- type Respond
- func (*Respond) Descriptor() ([]byte, []int)
- func (m *Respond) GetCode() int32
- func (m *Respond) GetMsg() string
- func (*Respond) ProtoMessage()
- func (m *Respond) Reset()
- func (m *Respond) String() string
- func (m *Respond) XXX_DiscardUnknown()
- func (m *Respond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Respond) XXX_Merge(src proto.Message)
- func (m *Respond) XXX_Size() int
- func (m *Respond) XXX_Unmarshal(b []byte) error
- type SaveAppUUIDRequest
- func (*SaveAppUUIDRequest) Descriptor() ([]byte, []int)
- func (m *SaveAppUUIDRequest) GetAppTag() string
- func (m *SaveAppUUIDRequest) GetUUID() string
- func (*SaveAppUUIDRequest) ProtoMessage()
- func (m *SaveAppUUIDRequest) Reset()
- func (m *SaveAppUUIDRequest) String() string
- func (m *SaveAppUUIDRequest) XXX_DiscardUnknown()
- func (m *SaveAppUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SaveAppUUIDRequest) XXX_Merge(src proto.Message)
- func (m *SaveAppUUIDRequest) XXX_Size() int
- func (m *SaveAppUUIDRequest) XXX_Unmarshal(b []byte) error
- type SaveExpireMsgRequest
- func (*SaveExpireMsgRequest) Descriptor() ([]byte, []int)
- func (m *SaveExpireMsgRequest) GetExpireTime() int32
- func (m *SaveExpireMsgRequest) GetMsg() string
- func (m *SaveExpireMsgRequest) GetMsgId() string
- func (m *SaveExpireMsgRequest) GetUUID() string
- func (*SaveExpireMsgRequest) ProtoMessage()
- func (m *SaveExpireMsgRequest) Reset()
- func (m *SaveExpireMsgRequest) String() string
- func (m *SaveExpireMsgRequest) XXX_DiscardUnknown()
- func (m *SaveExpireMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SaveExpireMsgRequest) XXX_Merge(src proto.Message)
- func (m *SaveExpireMsgRequest) XXX_Size() int
- func (m *SaveExpireMsgRequest) XXX_Unmarshal(b []byte) error
- type SaveGatewayUUIDRequest
- func (*SaveGatewayUUIDRequest) Descriptor() ([]byte, []int)
- func (m *SaveGatewayUUIDRequest) GetGatewayAddr() string
- func (m *SaveGatewayUUIDRequest) GetUUID() string
- func (*SaveGatewayUUIDRequest) ProtoMessage()
- func (m *SaveGatewayUUIDRequest) Reset()
- func (m *SaveGatewayUUIDRequest) String() string
- func (m *SaveGatewayUUIDRequest) XXX_DiscardUnknown()
- func (m *SaveGatewayUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SaveGatewayUUIDRequest) XXX_Merge(src proto.Message)
- func (m *SaveGatewayUUIDRequest) XXX_Size() int
- func (m *SaveGatewayUUIDRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedMessageServer
- func (*UnimplementedMessageServer) DeleteAppUUID(ctx context.Context, req *DeleteAppUUIDRequest) (*Respond, error)
- func (*UnimplementedMessageServer) DeleteExpireMsg(ctx context.Context, req *DeleteExpireMsgRequest) (*Respond, error)
- func (*UnimplementedMessageServer) DeleteGatewayUUID(ctx context.Context, req *DeleteGatewayUUIDRequest) (*Respond, error)
- func (*UnimplementedMessageServer) GetAppUUID(ctx context.Context, req *GetAppUUIDRequest) (*GetAppUUIDRespond, error)
- func (*UnimplementedMessageServer) GetGatewayUUID(ctx context.Context, req *GetGatewayUUIDRequest) (*GetGatewayUUIDRespond, error)
- func (*UnimplementedMessageServer) SaveAppUUID(ctx context.Context, req *SaveAppUUIDRequest) (*Respond, error)
- func (*UnimplementedMessageServer) SaveExpireMsg(ctx context.Context, req *SaveExpireMsgRequest) (*Respond, error)
- func (*UnimplementedMessageServer) SaveGatewayUUID(ctx context.Context, req *SaveGatewayUUIDRequest) (*Respond, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMessageServer ¶
func RegisterMessageServer(s *grpc.Server, srv MessageServer)
Types ¶
type DeleteAppUUIDRequest ¶
type DeleteAppUUIDRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` AppTag string `protobuf:"bytes,2,opt,name=AppTag,proto3" json:"AppTag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteAppUUIDRequest) Descriptor ¶
func (*DeleteAppUUIDRequest) Descriptor() ([]byte, []int)
func (*DeleteAppUUIDRequest) GetAppTag ¶
func (m *DeleteAppUUIDRequest) GetAppTag() string
func (*DeleteAppUUIDRequest) GetUUID ¶
func (m *DeleteAppUUIDRequest) GetUUID() string
func (*DeleteAppUUIDRequest) ProtoMessage ¶
func (*DeleteAppUUIDRequest) ProtoMessage()
func (*DeleteAppUUIDRequest) Reset ¶
func (m *DeleteAppUUIDRequest) Reset()
func (*DeleteAppUUIDRequest) String ¶
func (m *DeleteAppUUIDRequest) String() string
func (*DeleteAppUUIDRequest) XXX_DiscardUnknown ¶
func (m *DeleteAppUUIDRequest) XXX_DiscardUnknown()
func (*DeleteAppUUIDRequest) XXX_Marshal ¶
func (m *DeleteAppUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAppUUIDRequest) XXX_Merge ¶
func (m *DeleteAppUUIDRequest) XXX_Merge(src proto.Message)
func (*DeleteAppUUIDRequest) XXX_Size ¶
func (m *DeleteAppUUIDRequest) XXX_Size() int
func (*DeleteAppUUIDRequest) XXX_Unmarshal ¶
func (m *DeleteAppUUIDRequest) XXX_Unmarshal(b []byte) error
type DeleteExpireMsgRequest ¶
type DeleteExpireMsgRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` MsgId string `protobuf:"bytes,2,opt,name=MsgId,proto3" json:"MsgId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteExpireMsgRequest) Descriptor ¶
func (*DeleteExpireMsgRequest) Descriptor() ([]byte, []int)
func (*DeleteExpireMsgRequest) GetMsgId ¶
func (m *DeleteExpireMsgRequest) GetMsgId() string
func (*DeleteExpireMsgRequest) GetUUID ¶
func (m *DeleteExpireMsgRequest) GetUUID() string
func (*DeleteExpireMsgRequest) ProtoMessage ¶
func (*DeleteExpireMsgRequest) ProtoMessage()
func (*DeleteExpireMsgRequest) Reset ¶
func (m *DeleteExpireMsgRequest) Reset()
func (*DeleteExpireMsgRequest) String ¶
func (m *DeleteExpireMsgRequest) String() string
func (*DeleteExpireMsgRequest) XXX_DiscardUnknown ¶
func (m *DeleteExpireMsgRequest) XXX_DiscardUnknown()
func (*DeleteExpireMsgRequest) XXX_Marshal ¶
func (m *DeleteExpireMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteExpireMsgRequest) XXX_Merge ¶
func (m *DeleteExpireMsgRequest) XXX_Merge(src proto.Message)
func (*DeleteExpireMsgRequest) XXX_Size ¶
func (m *DeleteExpireMsgRequest) XXX_Size() int
func (*DeleteExpireMsgRequest) XXX_Unmarshal ¶
func (m *DeleteExpireMsgRequest) XXX_Unmarshal(b []byte) error
type DeleteGatewayUUIDRequest ¶
type DeleteGatewayUUIDRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteGatewayUUIDRequest) Descriptor ¶
func (*DeleteGatewayUUIDRequest) Descriptor() ([]byte, []int)
func (*DeleteGatewayUUIDRequest) GetUUID ¶
func (m *DeleteGatewayUUIDRequest) GetUUID() string
func (*DeleteGatewayUUIDRequest) ProtoMessage ¶
func (*DeleteGatewayUUIDRequest) ProtoMessage()
func (*DeleteGatewayUUIDRequest) Reset ¶
func (m *DeleteGatewayUUIDRequest) Reset()
func (*DeleteGatewayUUIDRequest) String ¶
func (m *DeleteGatewayUUIDRequest) String() string
func (*DeleteGatewayUUIDRequest) XXX_DiscardUnknown ¶
func (m *DeleteGatewayUUIDRequest) XXX_DiscardUnknown()
func (*DeleteGatewayUUIDRequest) XXX_Marshal ¶
func (m *DeleteGatewayUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteGatewayUUIDRequest) XXX_Merge ¶
func (m *DeleteGatewayUUIDRequest) XXX_Merge(src proto.Message)
func (*DeleteGatewayUUIDRequest) XXX_Size ¶
func (m *DeleteGatewayUUIDRequest) XXX_Size() int
func (*DeleteGatewayUUIDRequest) XXX_Unmarshal ¶
func (m *DeleteGatewayUUIDRequest) XXX_Unmarshal(b []byte) error
type GetAppUUIDRequest ¶
type GetAppUUIDRequest struct { AppTag string `protobuf:"bytes,1,opt,name=AppTag,proto3" json:"AppTag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAppUUIDRequest) Descriptor ¶
func (*GetAppUUIDRequest) Descriptor() ([]byte, []int)
func (*GetAppUUIDRequest) GetAppTag ¶
func (m *GetAppUUIDRequest) GetAppTag() string
func (*GetAppUUIDRequest) ProtoMessage ¶
func (*GetAppUUIDRequest) ProtoMessage()
func (*GetAppUUIDRequest) Reset ¶
func (m *GetAppUUIDRequest) Reset()
func (*GetAppUUIDRequest) String ¶
func (m *GetAppUUIDRequest) String() string
func (*GetAppUUIDRequest) XXX_DiscardUnknown ¶
func (m *GetAppUUIDRequest) XXX_DiscardUnknown()
func (*GetAppUUIDRequest) XXX_Marshal ¶
func (m *GetAppUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAppUUIDRequest) XXX_Merge ¶
func (m *GetAppUUIDRequest) XXX_Merge(src proto.Message)
func (*GetAppUUIDRequest) XXX_Size ¶
func (m *GetAppUUIDRequest) XXX_Size() int
func (*GetAppUUIDRequest) XXX_Unmarshal ¶
func (m *GetAppUUIDRequest) XXX_Unmarshal(b []byte) error
type GetAppUUIDRespond ¶
type GetAppUUIDRespond struct { Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` UUIDs []string `protobuf:"bytes,3,rep,name=UUIDs,proto3" json:"UUIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAppUUIDRespond) Descriptor ¶
func (*GetAppUUIDRespond) Descriptor() ([]byte, []int)
func (*GetAppUUIDRespond) GetCode ¶
func (m *GetAppUUIDRespond) GetCode() int32
func (*GetAppUUIDRespond) GetMsg ¶
func (m *GetAppUUIDRespond) GetMsg() string
func (*GetAppUUIDRespond) GetUUIDs ¶
func (m *GetAppUUIDRespond) GetUUIDs() []string
func (*GetAppUUIDRespond) ProtoMessage ¶
func (*GetAppUUIDRespond) ProtoMessage()
func (*GetAppUUIDRespond) Reset ¶
func (m *GetAppUUIDRespond) Reset()
func (*GetAppUUIDRespond) String ¶
func (m *GetAppUUIDRespond) String() string
func (*GetAppUUIDRespond) XXX_DiscardUnknown ¶
func (m *GetAppUUIDRespond) XXX_DiscardUnknown()
func (*GetAppUUIDRespond) XXX_Marshal ¶
func (m *GetAppUUIDRespond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAppUUIDRespond) XXX_Merge ¶
func (m *GetAppUUIDRespond) XXX_Merge(src proto.Message)
func (*GetAppUUIDRespond) XXX_Size ¶
func (m *GetAppUUIDRespond) XXX_Size() int
func (*GetAppUUIDRespond) XXX_Unmarshal ¶
func (m *GetAppUUIDRespond) XXX_Unmarshal(b []byte) error
type GetGatewayUUIDRequest ¶
type GetGatewayUUIDRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGatewayUUIDRequest) Descriptor ¶
func (*GetGatewayUUIDRequest) Descriptor() ([]byte, []int)
func (*GetGatewayUUIDRequest) GetUUID ¶
func (m *GetGatewayUUIDRequest) GetUUID() string
func (*GetGatewayUUIDRequest) ProtoMessage ¶
func (*GetGatewayUUIDRequest) ProtoMessage()
func (*GetGatewayUUIDRequest) Reset ¶
func (m *GetGatewayUUIDRequest) Reset()
func (*GetGatewayUUIDRequest) String ¶
func (m *GetGatewayUUIDRequest) String() string
func (*GetGatewayUUIDRequest) XXX_DiscardUnknown ¶
func (m *GetGatewayUUIDRequest) XXX_DiscardUnknown()
func (*GetGatewayUUIDRequest) XXX_Marshal ¶
func (m *GetGatewayUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGatewayUUIDRequest) XXX_Merge ¶
func (m *GetGatewayUUIDRequest) XXX_Merge(src proto.Message)
func (*GetGatewayUUIDRequest) XXX_Size ¶
func (m *GetGatewayUUIDRequest) XXX_Size() int
func (*GetGatewayUUIDRequest) XXX_Unmarshal ¶
func (m *GetGatewayUUIDRequest) XXX_Unmarshal(b []byte) error
type GetGatewayUUIDRespond ¶
type GetGatewayUUIDRespond struct { Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` GatewayAddr string `protobuf:"bytes,3,opt,name=GatewayAddr,proto3" json:"GatewayAddr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGatewayUUIDRespond) Descriptor ¶
func (*GetGatewayUUIDRespond) Descriptor() ([]byte, []int)
func (*GetGatewayUUIDRespond) GetCode ¶
func (m *GetGatewayUUIDRespond) GetCode() int32
func (*GetGatewayUUIDRespond) GetGatewayAddr ¶
func (m *GetGatewayUUIDRespond) GetGatewayAddr() string
func (*GetGatewayUUIDRespond) GetMsg ¶
func (m *GetGatewayUUIDRespond) GetMsg() string
func (*GetGatewayUUIDRespond) ProtoMessage ¶
func (*GetGatewayUUIDRespond) ProtoMessage()
func (*GetGatewayUUIDRespond) Reset ¶
func (m *GetGatewayUUIDRespond) Reset()
func (*GetGatewayUUIDRespond) String ¶
func (m *GetGatewayUUIDRespond) String() string
func (*GetGatewayUUIDRespond) XXX_DiscardUnknown ¶
func (m *GetGatewayUUIDRespond) XXX_DiscardUnknown()
func (*GetGatewayUUIDRespond) XXX_Marshal ¶
func (m *GetGatewayUUIDRespond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGatewayUUIDRespond) XXX_Merge ¶
func (m *GetGatewayUUIDRespond) XXX_Merge(src proto.Message)
func (*GetGatewayUUIDRespond) XXX_Size ¶
func (m *GetGatewayUUIDRespond) XXX_Size() int
func (*GetGatewayUUIDRespond) XXX_Unmarshal ¶
func (m *GetGatewayUUIDRespond) XXX_Unmarshal(b []byte) error
type MessageClient ¶
type MessageClient interface { SaveGatewayUUID(ctx context.Context, in *SaveGatewayUUIDRequest, opts ...grpc.CallOption) (*Respond, error) SaveAppUUID(ctx context.Context, in *SaveAppUUIDRequest, opts ...grpc.CallOption) (*Respond, error) SaveExpireMsg(ctx context.Context, in *SaveExpireMsgRequest, opts ...grpc.CallOption) (*Respond, error) DeleteGatewayUUID(ctx context.Context, in *DeleteGatewayUUIDRequest, opts ...grpc.CallOption) (*Respond, error) DeleteAppUUID(ctx context.Context, in *DeleteAppUUIDRequest, opts ...grpc.CallOption) (*Respond, error) DeleteExpireMsg(ctx context.Context, in *DeleteExpireMsgRequest, opts ...grpc.CallOption) (*Respond, error) GetGatewayUUID(ctx context.Context, in *GetGatewayUUIDRequest, opts ...grpc.CallOption) (*GetGatewayUUIDRespond, error) GetAppUUID(ctx context.Context, in *GetAppUUIDRequest, opts ...grpc.CallOption) (*GetAppUUIDRespond, error) }
MessageClient is the client API for Message service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMessageClient ¶
func NewMessageClient(cc *grpc.ClientConn) MessageClient
type MessageServer ¶
type MessageServer interface { SaveGatewayUUID(context.Context, *SaveGatewayUUIDRequest) (*Respond, error) SaveAppUUID(context.Context, *SaveAppUUIDRequest) (*Respond, error) SaveExpireMsg(context.Context, *SaveExpireMsgRequest) (*Respond, error) DeleteGatewayUUID(context.Context, *DeleteGatewayUUIDRequest) (*Respond, error) DeleteAppUUID(context.Context, *DeleteAppUUIDRequest) (*Respond, error) DeleteExpireMsg(context.Context, *DeleteExpireMsgRequest) (*Respond, error) GetGatewayUUID(context.Context, *GetGatewayUUIDRequest) (*GetGatewayUUIDRespond, error) GetAppUUID(context.Context, *GetAppUUIDRequest) (*GetAppUUIDRespond, error) }
MessageServer is the server API for Message service.
type Respond ¶
type Respond struct { Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Respond) Descriptor ¶
func (*Respond) ProtoMessage ¶
func (*Respond) ProtoMessage()
func (*Respond) XXX_DiscardUnknown ¶
func (m *Respond) XXX_DiscardUnknown()
func (*Respond) XXX_Marshal ¶
func (*Respond) XXX_Unmarshal ¶
type SaveAppUUIDRequest ¶
type SaveAppUUIDRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` AppTag string `protobuf:"bytes,2,opt,name=AppTag,proto3" json:"AppTag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SaveAppUUIDRequest) Descriptor ¶
func (*SaveAppUUIDRequest) Descriptor() ([]byte, []int)
func (*SaveAppUUIDRequest) GetAppTag ¶
func (m *SaveAppUUIDRequest) GetAppTag() string
func (*SaveAppUUIDRequest) GetUUID ¶
func (m *SaveAppUUIDRequest) GetUUID() string
func (*SaveAppUUIDRequest) ProtoMessage ¶
func (*SaveAppUUIDRequest) ProtoMessage()
func (*SaveAppUUIDRequest) Reset ¶
func (m *SaveAppUUIDRequest) Reset()
func (*SaveAppUUIDRequest) String ¶
func (m *SaveAppUUIDRequest) String() string
func (*SaveAppUUIDRequest) XXX_DiscardUnknown ¶
func (m *SaveAppUUIDRequest) XXX_DiscardUnknown()
func (*SaveAppUUIDRequest) XXX_Marshal ¶
func (m *SaveAppUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SaveAppUUIDRequest) XXX_Merge ¶
func (m *SaveAppUUIDRequest) XXX_Merge(src proto.Message)
func (*SaveAppUUIDRequest) XXX_Size ¶
func (m *SaveAppUUIDRequest) XXX_Size() int
func (*SaveAppUUIDRequest) XXX_Unmarshal ¶
func (m *SaveAppUUIDRequest) XXX_Unmarshal(b []byte) error
type SaveExpireMsgRequest ¶
type SaveExpireMsgRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` MsgId string `protobuf:"bytes,2,opt,name=MsgId,proto3" json:"MsgId,omitempty"` Msg string `protobuf:"bytes,3,opt,name=Msg,proto3" json:"Msg,omitempty"` ExpireTime int32 `protobuf:"varint,4,opt,name=ExpireTime,proto3" json:"ExpireTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SaveExpireMsgRequest) Descriptor ¶
func (*SaveExpireMsgRequest) Descriptor() ([]byte, []int)
func (*SaveExpireMsgRequest) GetExpireTime ¶
func (m *SaveExpireMsgRequest) GetExpireTime() int32
func (*SaveExpireMsgRequest) GetMsg ¶
func (m *SaveExpireMsgRequest) GetMsg() string
func (*SaveExpireMsgRequest) GetMsgId ¶
func (m *SaveExpireMsgRequest) GetMsgId() string
func (*SaveExpireMsgRequest) GetUUID ¶
func (m *SaveExpireMsgRequest) GetUUID() string
func (*SaveExpireMsgRequest) ProtoMessage ¶
func (*SaveExpireMsgRequest) ProtoMessage()
func (*SaveExpireMsgRequest) Reset ¶
func (m *SaveExpireMsgRequest) Reset()
func (*SaveExpireMsgRequest) String ¶
func (m *SaveExpireMsgRequest) String() string
func (*SaveExpireMsgRequest) XXX_DiscardUnknown ¶
func (m *SaveExpireMsgRequest) XXX_DiscardUnknown()
func (*SaveExpireMsgRequest) XXX_Marshal ¶
func (m *SaveExpireMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SaveExpireMsgRequest) XXX_Merge ¶
func (m *SaveExpireMsgRequest) XXX_Merge(src proto.Message)
func (*SaveExpireMsgRequest) XXX_Size ¶
func (m *SaveExpireMsgRequest) XXX_Size() int
func (*SaveExpireMsgRequest) XXX_Unmarshal ¶
func (m *SaveExpireMsgRequest) XXX_Unmarshal(b []byte) error
type SaveGatewayUUIDRequest ¶
type SaveGatewayUUIDRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` GatewayAddr string `protobuf:"bytes,2,opt,name=GatewayAddr,proto3" json:"GatewayAddr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SaveGatewayUUIDRequest) Descriptor ¶
func (*SaveGatewayUUIDRequest) Descriptor() ([]byte, []int)
func (*SaveGatewayUUIDRequest) GetGatewayAddr ¶
func (m *SaveGatewayUUIDRequest) GetGatewayAddr() string
func (*SaveGatewayUUIDRequest) GetUUID ¶
func (m *SaveGatewayUUIDRequest) GetUUID() string
func (*SaveGatewayUUIDRequest) ProtoMessage ¶
func (*SaveGatewayUUIDRequest) ProtoMessage()
func (*SaveGatewayUUIDRequest) Reset ¶
func (m *SaveGatewayUUIDRequest) Reset()
func (*SaveGatewayUUIDRequest) String ¶
func (m *SaveGatewayUUIDRequest) String() string
func (*SaveGatewayUUIDRequest) XXX_DiscardUnknown ¶
func (m *SaveGatewayUUIDRequest) XXX_DiscardUnknown()
func (*SaveGatewayUUIDRequest) XXX_Marshal ¶
func (m *SaveGatewayUUIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SaveGatewayUUIDRequest) XXX_Merge ¶
func (m *SaveGatewayUUIDRequest) XXX_Merge(src proto.Message)
func (*SaveGatewayUUIDRequest) XXX_Size ¶
func (m *SaveGatewayUUIDRequest) XXX_Size() int
func (*SaveGatewayUUIDRequest) XXX_Unmarshal ¶
func (m *SaveGatewayUUIDRequest) XXX_Unmarshal(b []byte) error
type UnimplementedMessageServer ¶
type UnimplementedMessageServer struct { }
UnimplementedMessageServer can be embedded to have forward compatible implementations.
func (*UnimplementedMessageServer) DeleteAppUUID ¶
func (*UnimplementedMessageServer) DeleteAppUUID(ctx context.Context, req *DeleteAppUUIDRequest) (*Respond, error)
func (*UnimplementedMessageServer) DeleteExpireMsg ¶
func (*UnimplementedMessageServer) DeleteExpireMsg(ctx context.Context, req *DeleteExpireMsgRequest) (*Respond, error)
func (*UnimplementedMessageServer) DeleteGatewayUUID ¶
func (*UnimplementedMessageServer) DeleteGatewayUUID(ctx context.Context, req *DeleteGatewayUUIDRequest) (*Respond, error)
func (*UnimplementedMessageServer) GetAppUUID ¶
func (*UnimplementedMessageServer) GetAppUUID(ctx context.Context, req *GetAppUUIDRequest) (*GetAppUUIDRespond, error)
func (*UnimplementedMessageServer) GetGatewayUUID ¶
func (*UnimplementedMessageServer) GetGatewayUUID(ctx context.Context, req *GetGatewayUUIDRequest) (*GetGatewayUUIDRespond, error)
func (*UnimplementedMessageServer) SaveAppUUID ¶
func (*UnimplementedMessageServer) SaveAppUUID(ctx context.Context, req *SaveAppUUIDRequest) (*Respond, error)
func (*UnimplementedMessageServer) SaveExpireMsg ¶
func (*UnimplementedMessageServer) SaveExpireMsg(ctx context.Context, req *SaveExpireMsgRequest) (*Respond, error)
func (*UnimplementedMessageServer) SaveGatewayUUID ¶
func (*UnimplementedMessageServer) SaveGatewayUUID(ctx context.Context, req *SaveGatewayUUIDRequest) (*Respond, error)
Click to show internal directories.
Click to hide internal directories.