gpusher_srv_message

package
v0.0.0-...-02b4230 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

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) Descriptor() ([]byte, []int)

func (*Respond) GetCode

func (m *Respond) GetCode() int32

func (*Respond) GetMsg

func (m *Respond) GetMsg() string

func (*Respond) ProtoMessage

func (*Respond) ProtoMessage()

func (*Respond) Reset

func (m *Respond) Reset()

func (*Respond) String

func (m *Respond) String() string

func (*Respond) XXX_DiscardUnknown

func (m *Respond) XXX_DiscardUnknown()

func (*Respond) XXX_Marshal

func (m *Respond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Respond) XXX_Merge

func (m *Respond) XXX_Merge(src proto.Message)

func (*Respond) XXX_Size

func (m *Respond) XXX_Size() int

func (*Respond) XXX_Unmarshal

func (m *Respond) XXX_Unmarshal(b []byte) error

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

func (*UnimplementedMessageServer) DeleteGatewayUUID

func (*UnimplementedMessageServer) GetAppUUID

func (*UnimplementedMessageServer) GetGatewayUUID

func (*UnimplementedMessageServer) SaveAppUUID

func (*UnimplementedMessageServer) SaveExpireMsg

func (*UnimplementedMessageServer) SaveGatewayUUID

Jump to

Keyboard shortcuts

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