Documentation ¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
- type AccountServiceClient
- type AccountServiceServer
- type ClientCreateStream
- func (*ClientCreateStream) Descriptor() ([]byte, []int)
- func (*ClientCreateStream) ProtoMessage()
- func (m *ClientCreateStream) Reset()
- func (m *ClientCreateStream) String() string
- func (m *ClientCreateStream) XXX_DiscardUnknown()
- func (m *ClientCreateStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientCreateStream) XXX_Merge(src proto.Message)
- func (m *ClientCreateStream) XXX_Size() int
- func (m *ClientCreateStream) XXX_Unmarshal(b []byte) error
- type ClientCreateStream_Reply
- func (*ClientCreateStream_Reply) Descriptor() ([]byte, []int)
- func (m *ClientCreateStream_Reply) GetError() *Error
- func (m *ClientCreateStream_Reply) GetStreamId() string
- func (m *ClientCreateStream_Reply) GetTrailer() []*Metadata
- func (*ClientCreateStream_Reply) ProtoMessage()
- func (m *ClientCreateStream_Reply) Reset()
- func (m *ClientCreateStream_Reply) String() string
- func (m *ClientCreateStream_Reply) XXX_DiscardUnknown()
- func (m *ClientCreateStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientCreateStream_Reply) XXX_Merge(src proto.Message)
- func (m *ClientCreateStream_Reply) XXX_Size() int
- func (m *ClientCreateStream_Reply) XXX_Unmarshal(b []byte) error
- type ClientCreateStream_Request
- func (*ClientCreateStream_Request) Descriptor() ([]byte, []int)
- func (m *ClientCreateStream_Request) GetHeader() []*Metadata
- func (m *ClientCreateStream_Request) GetMethodDesc() *MethodDesc
- func (m *ClientCreateStream_Request) GetPayload() []byte
- func (*ClientCreateStream_Request) ProtoMessage()
- func (m *ClientCreateStream_Request) Reset()
- func (m *ClientCreateStream_Request) String() string
- func (m *ClientCreateStream_Request) XXX_DiscardUnknown()
- func (m *ClientCreateStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientCreateStream_Request) XXX_Merge(src proto.Message)
- func (m *ClientCreateStream_Request) XXX_Size() int
- func (m *ClientCreateStream_Request) XXX_Unmarshal(b []byte) error
- type ClientInvokeUnary
- func (*ClientInvokeUnary) Descriptor() ([]byte, []int)
- func (*ClientInvokeUnary) ProtoMessage()
- func (m *ClientInvokeUnary) Reset()
- func (m *ClientInvokeUnary) String() string
- func (m *ClientInvokeUnary) XXX_DiscardUnknown()
- func (m *ClientInvokeUnary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientInvokeUnary) XXX_Merge(src proto.Message)
- func (m *ClientInvokeUnary) XXX_Size() int
- func (m *ClientInvokeUnary) XXX_Unmarshal(b []byte) error
- type ClientInvokeUnary_Reply
- func (*ClientInvokeUnary_Reply) Descriptor() ([]byte, []int)
- func (m *ClientInvokeUnary_Reply) GetError() *Error
- func (m *ClientInvokeUnary_Reply) GetPayload() []byte
- func (m *ClientInvokeUnary_Reply) GetTrailer() []*Metadata
- func (*ClientInvokeUnary_Reply) ProtoMessage()
- func (m *ClientInvokeUnary_Reply) Reset()
- func (m *ClientInvokeUnary_Reply) String() string
- func (m *ClientInvokeUnary_Reply) XXX_DiscardUnknown()
- func (m *ClientInvokeUnary_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientInvokeUnary_Reply) XXX_Merge(src proto.Message)
- func (m *ClientInvokeUnary_Reply) XXX_Size() int
- func (m *ClientInvokeUnary_Reply) XXX_Unmarshal(b []byte) error
- type ClientInvokeUnary_Request
- func (*ClientInvokeUnary_Request) Descriptor() ([]byte, []int)
- func (m *ClientInvokeUnary_Request) GetHeader() []*Metadata
- func (m *ClientInvokeUnary_Request) GetMethodDesc() *MethodDesc
- func (m *ClientInvokeUnary_Request) GetPayload() []byte
- func (*ClientInvokeUnary_Request) ProtoMessage()
- func (m *ClientInvokeUnary_Request) Reset()
- func (m *ClientInvokeUnary_Request) String() string
- func (m *ClientInvokeUnary_Request) XXX_DiscardUnknown()
- func (m *ClientInvokeUnary_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientInvokeUnary_Request) XXX_Merge(src proto.Message)
- func (m *ClientInvokeUnary_Request) XXX_Size() int
- func (m *ClientInvokeUnary_Request) XXX_Unmarshal(b []byte) error
- type ClientStreamClose
- func (*ClientStreamClose) Descriptor() ([]byte, []int)
- func (*ClientStreamClose) ProtoMessage()
- func (m *ClientStreamClose) Reset()
- func (m *ClientStreamClose) String() string
- func (m *ClientStreamClose) XXX_DiscardUnknown()
- func (m *ClientStreamClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamClose) XXX_Merge(src proto.Message)
- func (m *ClientStreamClose) XXX_Size() int
- func (m *ClientStreamClose) XXX_Unmarshal(b []byte) error
- type ClientStreamClose_Reply
- func (*ClientStreamClose_Reply) Descriptor() ([]byte, []int)
- func (m *ClientStreamClose_Reply) GetError() *Error
- func (m *ClientStreamClose_Reply) GetStreamId() string
- func (m *ClientStreamClose_Reply) GetTrailer() []*Metadata
- func (*ClientStreamClose_Reply) ProtoMessage()
- func (m *ClientStreamClose_Reply) Reset()
- func (m *ClientStreamClose_Reply) String() string
- func (m *ClientStreamClose_Reply) XXX_DiscardUnknown()
- func (m *ClientStreamClose_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamClose_Reply) XXX_Merge(src proto.Message)
- func (m *ClientStreamClose_Reply) XXX_Size() int
- func (m *ClientStreamClose_Reply) XXX_Unmarshal(b []byte) error
- type ClientStreamClose_Request
- func (*ClientStreamClose_Request) Descriptor() ([]byte, []int)
- func (m *ClientStreamClose_Request) GetStreamId() string
- func (*ClientStreamClose_Request) ProtoMessage()
- func (m *ClientStreamClose_Request) Reset()
- func (m *ClientStreamClose_Request) String() string
- func (m *ClientStreamClose_Request) XXX_DiscardUnknown()
- func (m *ClientStreamClose_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamClose_Request) XXX_Merge(src proto.Message)
- func (m *ClientStreamClose_Request) XXX_Size() int
- func (m *ClientStreamClose_Request) XXX_Unmarshal(b []byte) error
- type ClientStreamRecv
- func (*ClientStreamRecv) Descriptor() ([]byte, []int)
- func (*ClientStreamRecv) ProtoMessage()
- func (m *ClientStreamRecv) Reset()
- func (m *ClientStreamRecv) String() string
- func (m *ClientStreamRecv) XXX_DiscardUnknown()
- func (m *ClientStreamRecv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamRecv) XXX_Merge(src proto.Message)
- func (m *ClientStreamRecv) XXX_Size() int
- func (m *ClientStreamRecv) XXX_Unmarshal(b []byte) error
- type ClientStreamRecv_Reply
- func (*ClientStreamRecv_Reply) Descriptor() ([]byte, []int)
- func (m *ClientStreamRecv_Reply) GetError() *Error
- func (m *ClientStreamRecv_Reply) GetPayload() []byte
- func (m *ClientStreamRecv_Reply) GetStreamId() string
- func (m *ClientStreamRecv_Reply) GetTrailer() []*Metadata
- func (*ClientStreamRecv_Reply) ProtoMessage()
- func (m *ClientStreamRecv_Reply) Reset()
- func (m *ClientStreamRecv_Reply) String() string
- func (m *ClientStreamRecv_Reply) XXX_DiscardUnknown()
- func (m *ClientStreamRecv_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamRecv_Reply) XXX_Merge(src proto.Message)
- func (m *ClientStreamRecv_Reply) XXX_Size() int
- func (m *ClientStreamRecv_Reply) XXX_Unmarshal(b []byte) error
- type ClientStreamRecv_Request
- func (*ClientStreamRecv_Request) Descriptor() ([]byte, []int)
- func (m *ClientStreamRecv_Request) GetStreamId() string
- func (*ClientStreamRecv_Request) ProtoMessage()
- func (m *ClientStreamRecv_Request) Reset()
- func (m *ClientStreamRecv_Request) String() string
- func (m *ClientStreamRecv_Request) XXX_DiscardUnknown()
- func (m *ClientStreamRecv_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamRecv_Request) XXX_Merge(src proto.Message)
- func (m *ClientStreamRecv_Request) XXX_Size() int
- func (m *ClientStreamRecv_Request) XXX_Unmarshal(b []byte) error
- type ClientStreamSend
- func (*ClientStreamSend) Descriptor() ([]byte, []int)
- func (*ClientStreamSend) ProtoMessage()
- func (m *ClientStreamSend) Reset()
- func (m *ClientStreamSend) String() string
- func (m *ClientStreamSend) XXX_DiscardUnknown()
- func (m *ClientStreamSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamSend) XXX_Merge(src proto.Message)
- func (m *ClientStreamSend) XXX_Size() int
- func (m *ClientStreamSend) XXX_Unmarshal(b []byte) error
- type ClientStreamSend_Reply
- func (*ClientStreamSend_Reply) Descriptor() ([]byte, []int)
- func (m *ClientStreamSend_Reply) GetError() *Error
- func (m *ClientStreamSend_Reply) GetStreamId() string
- func (m *ClientStreamSend_Reply) GetTrailer() []*Metadata
- func (*ClientStreamSend_Reply) ProtoMessage()
- func (m *ClientStreamSend_Reply) Reset()
- func (m *ClientStreamSend_Reply) String() string
- func (m *ClientStreamSend_Reply) XXX_DiscardUnknown()
- func (m *ClientStreamSend_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamSend_Reply) XXX_Merge(src proto.Message)
- func (m *ClientStreamSend_Reply) XXX_Size() int
- func (m *ClientStreamSend_Reply) XXX_Unmarshal(b []byte) error
- type ClientStreamSend_Request
- func (*ClientStreamSend_Request) Descriptor() ([]byte, []int)
- func (m *ClientStreamSend_Request) GetPayload() []byte
- func (m *ClientStreamSend_Request) GetStreamId() string
- func (*ClientStreamSend_Request) ProtoMessage()
- func (m *ClientStreamSend_Request) Reset()
- func (m *ClientStreamSend_Request) String() string
- func (m *ClientStreamSend_Request) XXX_DiscardUnknown()
- func (m *ClientStreamSend_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStreamSend_Request) XXX_Merge(src proto.Message)
- func (m *ClientStreamSend_Request) XXX_Size() int
- func (m *ClientStreamSend_Request) XXX_Unmarshal(b []byte) error
- type CloseAccount
- func (*CloseAccount) Descriptor() ([]byte, []int)
- func (*CloseAccount) ProtoMessage()
- func (m *CloseAccount) Reset()
- func (m *CloseAccount) String() string
- func (m *CloseAccount) XXX_DiscardUnknown()
- func (m *CloseAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseAccount) XXX_Merge(src proto.Message)
- func (m *CloseAccount) XXX_Size() int
- func (m *CloseAccount) XXX_Unmarshal(b []byte) error
- type CloseAccount_Reply
- func (*CloseAccount_Reply) Descriptor() ([]byte, []int)
- func (*CloseAccount_Reply) ProtoMessage()
- func (m *CloseAccount_Reply) Reset()
- func (m *CloseAccount_Reply) String() string
- func (m *CloseAccount_Reply) XXX_DiscardUnknown()
- func (m *CloseAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseAccount_Reply) XXX_Merge(src proto.Message)
- func (m *CloseAccount_Reply) XXX_Size() int
- func (m *CloseAccount_Reply) XXX_Unmarshal(b []byte) error
- type CloseAccount_Request
- func (*CloseAccount_Request) Descriptor() ([]byte, []int)
- func (*CloseAccount_Request) ProtoMessage()
- func (m *CloseAccount_Request) Reset()
- func (m *CloseAccount_Request) String() string
- func (m *CloseAccount_Request) XXX_DiscardUnknown()
- func (m *CloseAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseAccount_Request) XXX_Merge(src proto.Message)
- func (m *CloseAccount_Request) XXX_Size() int
- func (m *CloseAccount_Request) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetErrorCode() errcode.ErrCode
- func (m *Error) GetGrpcErrorCode() GRPCErrCode
- func (m *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type GRPCErrCode
- type GetGRPCListenerAddrs
- func (*GetGRPCListenerAddrs) Descriptor() ([]byte, []int)
- func (*GetGRPCListenerAddrs) ProtoMessage()
- func (m *GetGRPCListenerAddrs) Reset()
- func (m *GetGRPCListenerAddrs) String() string
- func (m *GetGRPCListenerAddrs) XXX_DiscardUnknown()
- func (m *GetGRPCListenerAddrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGRPCListenerAddrs) XXX_Merge(src proto.Message)
- func (m *GetGRPCListenerAddrs) XXX_Size() int
- func (m *GetGRPCListenerAddrs) XXX_Unmarshal(b []byte) error
- type GetGRPCListenerAddrs_Reply
- func (*GetGRPCListenerAddrs_Reply) Descriptor() ([]byte, []int)
- func (m *GetGRPCListenerAddrs_Reply) GetEntries() []*GetGRPCListenerAddrs_Reply_Entry
- func (*GetGRPCListenerAddrs_Reply) ProtoMessage()
- func (m *GetGRPCListenerAddrs_Reply) Reset()
- func (m *GetGRPCListenerAddrs_Reply) String() string
- func (m *GetGRPCListenerAddrs_Reply) XXX_DiscardUnknown()
- func (m *GetGRPCListenerAddrs_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGRPCListenerAddrs_Reply) XXX_Merge(src proto.Message)
- func (m *GetGRPCListenerAddrs_Reply) XXX_Size() int
- func (m *GetGRPCListenerAddrs_Reply) XXX_Unmarshal(b []byte) error
- type GetGRPCListenerAddrs_Reply_Entry
- func (*GetGRPCListenerAddrs_Reply_Entry) Descriptor() ([]byte, []int)
- func (m *GetGRPCListenerAddrs_Reply_Entry) GetMaddr() string
- func (m *GetGRPCListenerAddrs_Reply_Entry) GetProto() string
- func (*GetGRPCListenerAddrs_Reply_Entry) ProtoMessage()
- func (m *GetGRPCListenerAddrs_Reply_Entry) Reset()
- func (m *GetGRPCListenerAddrs_Reply_Entry) String() string
- func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_DiscardUnknown()
- func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Merge(src proto.Message)
- func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Size() int
- func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Unmarshal(b []byte) error
- type GetGRPCListenerAddrs_Request
- func (*GetGRPCListenerAddrs_Request) Descriptor() ([]byte, []int)
- func (*GetGRPCListenerAddrs_Request) ProtoMessage()
- func (m *GetGRPCListenerAddrs_Request) Reset()
- func (m *GetGRPCListenerAddrs_Request) String() string
- func (m *GetGRPCListenerAddrs_Request) XXX_DiscardUnknown()
- func (m *GetGRPCListenerAddrs_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGRPCListenerAddrs_Request) XXX_Merge(src proto.Message)
- func (m *GetGRPCListenerAddrs_Request) XXX_Size() int
- func (m *GetGRPCListenerAddrs_Request) XXX_Unmarshal(b []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetKey() string
- func (m *Metadata) GetValues() []string
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) String() string
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type MethodDesc
- func (*MethodDesc) Descriptor() ([]byte, []int)
- func (m *MethodDesc) GetIsClientStream() bool
- func (m *MethodDesc) GetIsServerStream() bool
- func (m *MethodDesc) GetName() string
- func (*MethodDesc) ProtoMessage()
- func (m *MethodDesc) Reset()
- func (m *MethodDesc) String() string
- func (m *MethodDesc) XXX_DiscardUnknown()
- func (m *MethodDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MethodDesc) XXX_Merge(src proto.Message)
- func (m *MethodDesc) XXX_Size() int
- func (m *MethodDesc) XXX_Unmarshal(b []byte) error
- type OpenAccount
- func (*OpenAccount) Descriptor() ([]byte, []int)
- func (*OpenAccount) ProtoMessage()
- func (m *OpenAccount) Reset()
- func (m *OpenAccount) String() string
- func (m *OpenAccount) XXX_DiscardUnknown()
- func (m *OpenAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenAccount) XXX_Merge(src proto.Message)
- func (m *OpenAccount) XXX_Size() int
- func (m *OpenAccount) XXX_Unmarshal(b []byte) error
- type OpenAccount_Reply
- func (*OpenAccount_Reply) Descriptor() ([]byte, []int)
- func (*OpenAccount_Reply) ProtoMessage()
- func (m *OpenAccount_Reply) Reset()
- func (m *OpenAccount_Reply) String() string
- func (m *OpenAccount_Reply) XXX_DiscardUnknown()
- func (m *OpenAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenAccount_Reply) XXX_Merge(src proto.Message)
- func (m *OpenAccount_Reply) XXX_Size() int
- func (m *OpenAccount_Reply) XXX_Unmarshal(b []byte) error
- type OpenAccount_Request
- func (*OpenAccount_Request) Descriptor() ([]byte, []int)
- func (m *OpenAccount_Request) GetArgs() []string
- func (m *OpenAccount_Request) GetLoggerFilters() string
- func (m *OpenAccount_Request) GetPersistence() bool
- func (*OpenAccount_Request) ProtoMessage()
- func (m *OpenAccount_Request) Reset()
- func (m *OpenAccount_Request) String() string
- func (m *OpenAccount_Request) XXX_DiscardUnknown()
- func (m *OpenAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenAccount_Request) XXX_Merge(src proto.Message)
- func (m *OpenAccount_Request) XXX_Size() int
- func (m *OpenAccount_Request) XXX_Unmarshal(b []byte) error
- type Options
- type Service
- type UnimplementedAccountServiceServer
- func (*UnimplementedAccountServiceServer) ClientInvokeUnary(ctx context.Context, req *ClientInvokeUnary_Request) (*ClientInvokeUnary_Reply, error)
- func (*UnimplementedAccountServiceServer) ClientStreamClose(ctx context.Context, req *ClientStreamClose_Request) (*ClientStreamClose_Reply, error)
- func (*UnimplementedAccountServiceServer) ClientStreamRecv(ctx context.Context, req *ClientStreamRecv_Request) (*ClientStreamRecv_Reply, error)
- func (*UnimplementedAccountServiceServer) ClientStreamSend(ctx context.Context, req *ClientStreamSend_Request) (*ClientStreamSend_Reply, error)
- func (*UnimplementedAccountServiceServer) CloseAccount(ctx context.Context, req *CloseAccount_Request) (*CloseAccount_Reply, error)
- func (*UnimplementedAccountServiceServer) CreateClientStream(ctx context.Context, req *ClientCreateStream_Request) (*ClientCreateStream_Reply, error)
- func (*UnimplementedAccountServiceServer) GetGRPCListenerAddrs(ctx context.Context, req *GetGRPCListenerAddrs_Request) (*GetGRPCListenerAddrs_Reply, error)
- func (*UnimplementedAccountServiceServer) OpenAccount(ctx context.Context, req *OpenAccount_Request) (*OpenAccount_Reply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var GRPCErrCode_name = map[int32]string{
0: "OK",
1: "CANCELED",
2: "UNKNOWN",
3: "INVALID_ARGUMENT",
4: "DEADLINE_EXCEEDED",
5: "NOT_FOUND",
6: "ALREADY_EXISTS",
7: "PERMISSION_DENIED",
8: "RESOURCE_EXHAUSTED",
9: "FAILED_PRECONDITION",
10: "ABORTED",
11: "OUT_OF_RANGE",
12: "UNIMPLEMENTED",
13: "INTERNAL",
14: "UNAVAILABLE",
15: "DATA_LOSS",
16: "UNAUTHENTICATED",
}
View Source
var GRPCErrCode_value = map[string]int32{
"OK": 0,
"CANCELED": 1,
"UNKNOWN": 2,
"INVALID_ARGUMENT": 3,
"DEADLINE_EXCEEDED": 4,
"NOT_FOUND": 5,
"ALREADY_EXISTS": 6,
"PERMISSION_DENIED": 7,
"RESOURCE_EXHAUSTED": 8,
"FAILED_PRECONDITION": 9,
"ABORTED": 10,
"OUT_OF_RANGE": 11,
"UNIMPLEMENTED": 12,
"INTERNAL": 13,
"UNAVAILABLE": 14,
"DATA_LOSS": 15,
"UNAUTHENTICATED": 16,
}
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
Types ¶
type AccountServiceClient ¶
type AccountServiceClient interface { // OpenAccount, start berty node OpenAccount(ctx context.Context, in *OpenAccount_Request, opts ...grpc.CallOption) (*OpenAccount_Reply, error) // CloseAccount, close the current account CloseAccount(ctx context.Context, in *CloseAccount_Request, opts ...grpc.CallOption) (*CloseAccount_Reply, error) // GetGRPCListenerAddrs return current listeners addrs available on this bridge GetGRPCListenerAddrs(ctx context.Context, in *GetGRPCListenerAddrs_Request, opts ...grpc.CallOption) (*GetGRPCListenerAddrs_Reply, error) // ClientInvokeUnary invoke a unary method ClientInvokeUnary(ctx context.Context, in *ClientInvokeUnary_Request, opts ...grpc.CallOption) (*ClientInvokeUnary_Reply, error) // CreateStream create a stream CreateClientStream(ctx context.Context, in *ClientCreateStream_Request, opts ...grpc.CallOption) (*ClientCreateStream_Reply, error) // Send Message over the given stream ClientStreamSend(ctx context.Context, in *ClientStreamSend_Request, opts ...grpc.CallOption) (*ClientStreamSend_Reply, error) // Recv message over the given stream ClientStreamRecv(ctx context.Context, in *ClientStreamRecv_Request, opts ...grpc.CallOption) (*ClientStreamRecv_Reply, error) // Close the given stream (should not be used) ClientStreamClose(ctx context.Context, in *ClientStreamClose_Request, opts ...grpc.CallOption) (*ClientStreamClose_Reply, error) }
AccountServiceClient is the client API for AccountService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountServiceClient ¶
func NewAccountServiceClient(cc *grpc.ClientConn) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { // OpenAccount, start berty node OpenAccount(context.Context, *OpenAccount_Request) (*OpenAccount_Reply, error) // CloseAccount, close the current account CloseAccount(context.Context, *CloseAccount_Request) (*CloseAccount_Reply, error) // GetGRPCListenerAddrs return current listeners addrs available on this bridge GetGRPCListenerAddrs(context.Context, *GetGRPCListenerAddrs_Request) (*GetGRPCListenerAddrs_Reply, error) // ClientInvokeUnary invoke a unary method ClientInvokeUnary(context.Context, *ClientInvokeUnary_Request) (*ClientInvokeUnary_Reply, error) // CreateStream create a stream CreateClientStream(context.Context, *ClientCreateStream_Request) (*ClientCreateStream_Reply, error) // Send Message over the given stream ClientStreamSend(context.Context, *ClientStreamSend_Request) (*ClientStreamSend_Reply, error) // Recv message over the given stream ClientStreamRecv(context.Context, *ClientStreamRecv_Request) (*ClientStreamRecv_Reply, error) // Close the given stream (should not be used) ClientStreamClose(context.Context, *ClientStreamClose_Request) (*ClientStreamClose_Reply, error) }
AccountServiceServer is the server API for AccountService service.
type ClientCreateStream ¶
type ClientCreateStream struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientCreateStream) Descriptor ¶
func (*ClientCreateStream) Descriptor() ([]byte, []int)
func (*ClientCreateStream) ProtoMessage ¶
func (*ClientCreateStream) ProtoMessage()
func (*ClientCreateStream) Reset ¶
func (m *ClientCreateStream) Reset()
func (*ClientCreateStream) String ¶
func (m *ClientCreateStream) String() string
func (*ClientCreateStream) XXX_DiscardUnknown ¶
func (m *ClientCreateStream) XXX_DiscardUnknown()
func (*ClientCreateStream) XXX_Marshal ¶
func (m *ClientCreateStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientCreateStream) XXX_Merge ¶
func (m *ClientCreateStream) XXX_Merge(src proto.Message)
func (*ClientCreateStream) XXX_Size ¶
func (m *ClientCreateStream) XXX_Size() int
func (*ClientCreateStream) XXX_Unmarshal ¶
func (m *ClientCreateStream) XXX_Unmarshal(b []byte) error
type ClientCreateStream_Reply ¶
type ClientCreateStream_Reply struct { StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Trailer []*Metadata `protobuf:"bytes,2,rep,name=trailer,proto3" json:"trailer,omitempty"` Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientCreateStream_Reply) Descriptor ¶
func (*ClientCreateStream_Reply) Descriptor() ([]byte, []int)
func (*ClientCreateStream_Reply) GetError ¶
func (m *ClientCreateStream_Reply) GetError() *Error
func (*ClientCreateStream_Reply) GetStreamId ¶
func (m *ClientCreateStream_Reply) GetStreamId() string
func (*ClientCreateStream_Reply) GetTrailer ¶
func (m *ClientCreateStream_Reply) GetTrailer() []*Metadata
func (*ClientCreateStream_Reply) ProtoMessage ¶
func (*ClientCreateStream_Reply) ProtoMessage()
func (*ClientCreateStream_Reply) Reset ¶
func (m *ClientCreateStream_Reply) Reset()
func (*ClientCreateStream_Reply) String ¶
func (m *ClientCreateStream_Reply) String() string
func (*ClientCreateStream_Reply) XXX_DiscardUnknown ¶
func (m *ClientCreateStream_Reply) XXX_DiscardUnknown()
func (*ClientCreateStream_Reply) XXX_Marshal ¶
func (m *ClientCreateStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientCreateStream_Reply) XXX_Merge ¶
func (m *ClientCreateStream_Reply) XXX_Merge(src proto.Message)
func (*ClientCreateStream_Reply) XXX_Size ¶
func (m *ClientCreateStream_Reply) XXX_Size() int
func (*ClientCreateStream_Reply) XXX_Unmarshal ¶
func (m *ClientCreateStream_Reply) XXX_Unmarshal(b []byte) error
type ClientCreateStream_Request ¶
type ClientCreateStream_Request struct { MethodDesc *MethodDesc `protobuf:"bytes,2,opt,name=method_desc,json=methodDesc,proto3" json:"method_desc,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` Header []*Metadata `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientCreateStream_Request) Descriptor ¶
func (*ClientCreateStream_Request) Descriptor() ([]byte, []int)
func (*ClientCreateStream_Request) GetHeader ¶
func (m *ClientCreateStream_Request) GetHeader() []*Metadata
func (*ClientCreateStream_Request) GetMethodDesc ¶
func (m *ClientCreateStream_Request) GetMethodDesc() *MethodDesc
func (*ClientCreateStream_Request) GetPayload ¶
func (m *ClientCreateStream_Request) GetPayload() []byte
func (*ClientCreateStream_Request) ProtoMessage ¶
func (*ClientCreateStream_Request) ProtoMessage()
func (*ClientCreateStream_Request) Reset ¶
func (m *ClientCreateStream_Request) Reset()
func (*ClientCreateStream_Request) String ¶
func (m *ClientCreateStream_Request) String() string
func (*ClientCreateStream_Request) XXX_DiscardUnknown ¶
func (m *ClientCreateStream_Request) XXX_DiscardUnknown()
func (*ClientCreateStream_Request) XXX_Marshal ¶
func (m *ClientCreateStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientCreateStream_Request) XXX_Merge ¶
func (m *ClientCreateStream_Request) XXX_Merge(src proto.Message)
func (*ClientCreateStream_Request) XXX_Size ¶
func (m *ClientCreateStream_Request) XXX_Size() int
func (*ClientCreateStream_Request) XXX_Unmarshal ¶
func (m *ClientCreateStream_Request) XXX_Unmarshal(b []byte) error
type ClientInvokeUnary ¶
type ClientInvokeUnary struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientInvokeUnary) Descriptor ¶
func (*ClientInvokeUnary) Descriptor() ([]byte, []int)
func (*ClientInvokeUnary) ProtoMessage ¶
func (*ClientInvokeUnary) ProtoMessage()
func (*ClientInvokeUnary) Reset ¶
func (m *ClientInvokeUnary) Reset()
func (*ClientInvokeUnary) String ¶
func (m *ClientInvokeUnary) String() string
func (*ClientInvokeUnary) XXX_DiscardUnknown ¶
func (m *ClientInvokeUnary) XXX_DiscardUnknown()
func (*ClientInvokeUnary) XXX_Marshal ¶
func (m *ClientInvokeUnary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientInvokeUnary) XXX_Merge ¶
func (m *ClientInvokeUnary) XXX_Merge(src proto.Message)
func (*ClientInvokeUnary) XXX_Size ¶
func (m *ClientInvokeUnary) XXX_Size() int
func (*ClientInvokeUnary) XXX_Unmarshal ¶
func (m *ClientInvokeUnary) XXX_Unmarshal(b []byte) error
type ClientInvokeUnary_Reply ¶
type ClientInvokeUnary_Reply struct { Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` Trailer []*Metadata `protobuf:"bytes,3,rep,name=trailer,proto3" json:"trailer,omitempty"` Error *Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientInvokeUnary_Reply) Descriptor ¶
func (*ClientInvokeUnary_Reply) Descriptor() ([]byte, []int)
func (*ClientInvokeUnary_Reply) GetError ¶
func (m *ClientInvokeUnary_Reply) GetError() *Error
func (*ClientInvokeUnary_Reply) GetPayload ¶
func (m *ClientInvokeUnary_Reply) GetPayload() []byte
func (*ClientInvokeUnary_Reply) GetTrailer ¶
func (m *ClientInvokeUnary_Reply) GetTrailer() []*Metadata
func (*ClientInvokeUnary_Reply) ProtoMessage ¶
func (*ClientInvokeUnary_Reply) ProtoMessage()
func (*ClientInvokeUnary_Reply) Reset ¶
func (m *ClientInvokeUnary_Reply) Reset()
func (*ClientInvokeUnary_Reply) String ¶
func (m *ClientInvokeUnary_Reply) String() string
func (*ClientInvokeUnary_Reply) XXX_DiscardUnknown ¶
func (m *ClientInvokeUnary_Reply) XXX_DiscardUnknown()
func (*ClientInvokeUnary_Reply) XXX_Marshal ¶
func (m *ClientInvokeUnary_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientInvokeUnary_Reply) XXX_Merge ¶
func (m *ClientInvokeUnary_Reply) XXX_Merge(src proto.Message)
func (*ClientInvokeUnary_Reply) XXX_Size ¶
func (m *ClientInvokeUnary_Reply) XXX_Size() int
func (*ClientInvokeUnary_Reply) XXX_Unmarshal ¶
func (m *ClientInvokeUnary_Reply) XXX_Unmarshal(b []byte) error
type ClientInvokeUnary_Request ¶
type ClientInvokeUnary_Request struct { MethodDesc *MethodDesc `protobuf:"bytes,2,opt,name=method_desc,json=methodDesc,proto3" json:"method_desc,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` Header []*Metadata `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientInvokeUnary_Request) Descriptor ¶
func (*ClientInvokeUnary_Request) Descriptor() ([]byte, []int)
func (*ClientInvokeUnary_Request) GetHeader ¶
func (m *ClientInvokeUnary_Request) GetHeader() []*Metadata
func (*ClientInvokeUnary_Request) GetMethodDesc ¶
func (m *ClientInvokeUnary_Request) GetMethodDesc() *MethodDesc
func (*ClientInvokeUnary_Request) GetPayload ¶
func (m *ClientInvokeUnary_Request) GetPayload() []byte
func (*ClientInvokeUnary_Request) ProtoMessage ¶
func (*ClientInvokeUnary_Request) ProtoMessage()
func (*ClientInvokeUnary_Request) Reset ¶
func (m *ClientInvokeUnary_Request) Reset()
func (*ClientInvokeUnary_Request) String ¶
func (m *ClientInvokeUnary_Request) String() string
func (*ClientInvokeUnary_Request) XXX_DiscardUnknown ¶
func (m *ClientInvokeUnary_Request) XXX_DiscardUnknown()
func (*ClientInvokeUnary_Request) XXX_Marshal ¶
func (m *ClientInvokeUnary_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientInvokeUnary_Request) XXX_Merge ¶
func (m *ClientInvokeUnary_Request) XXX_Merge(src proto.Message)
func (*ClientInvokeUnary_Request) XXX_Size ¶
func (m *ClientInvokeUnary_Request) XXX_Size() int
func (*ClientInvokeUnary_Request) XXX_Unmarshal ¶
func (m *ClientInvokeUnary_Request) XXX_Unmarshal(b []byte) error
type ClientStreamClose ¶
type ClientStreamClose struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamClose) Descriptor ¶
func (*ClientStreamClose) Descriptor() ([]byte, []int)
func (*ClientStreamClose) ProtoMessage ¶
func (*ClientStreamClose) ProtoMessage()
func (*ClientStreamClose) Reset ¶
func (m *ClientStreamClose) Reset()
func (*ClientStreamClose) String ¶
func (m *ClientStreamClose) String() string
func (*ClientStreamClose) XXX_DiscardUnknown ¶
func (m *ClientStreamClose) XXX_DiscardUnknown()
func (*ClientStreamClose) XXX_Marshal ¶
func (m *ClientStreamClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamClose) XXX_Merge ¶
func (m *ClientStreamClose) XXX_Merge(src proto.Message)
func (*ClientStreamClose) XXX_Size ¶
func (m *ClientStreamClose) XXX_Size() int
func (*ClientStreamClose) XXX_Unmarshal ¶
func (m *ClientStreamClose) XXX_Unmarshal(b []byte) error
type ClientStreamClose_Reply ¶
type ClientStreamClose_Reply struct { StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Trailer []*Metadata `protobuf:"bytes,2,rep,name=trailer,proto3" json:"trailer,omitempty"` Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamClose_Reply) Descriptor ¶
func (*ClientStreamClose_Reply) Descriptor() ([]byte, []int)
func (*ClientStreamClose_Reply) GetError ¶
func (m *ClientStreamClose_Reply) GetError() *Error
func (*ClientStreamClose_Reply) GetStreamId ¶
func (m *ClientStreamClose_Reply) GetStreamId() string
func (*ClientStreamClose_Reply) GetTrailer ¶
func (m *ClientStreamClose_Reply) GetTrailer() []*Metadata
func (*ClientStreamClose_Reply) ProtoMessage ¶
func (*ClientStreamClose_Reply) ProtoMessage()
func (*ClientStreamClose_Reply) Reset ¶
func (m *ClientStreamClose_Reply) Reset()
func (*ClientStreamClose_Reply) String ¶
func (m *ClientStreamClose_Reply) String() string
func (*ClientStreamClose_Reply) XXX_DiscardUnknown ¶
func (m *ClientStreamClose_Reply) XXX_DiscardUnknown()
func (*ClientStreamClose_Reply) XXX_Marshal ¶
func (m *ClientStreamClose_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamClose_Reply) XXX_Merge ¶
func (m *ClientStreamClose_Reply) XXX_Merge(src proto.Message)
func (*ClientStreamClose_Reply) XXX_Size ¶
func (m *ClientStreamClose_Reply) XXX_Size() int
func (*ClientStreamClose_Reply) XXX_Unmarshal ¶
func (m *ClientStreamClose_Reply) XXX_Unmarshal(b []byte) error
type ClientStreamClose_Request ¶
type ClientStreamClose_Request struct { StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamClose_Request) Descriptor ¶
func (*ClientStreamClose_Request) Descriptor() ([]byte, []int)
func (*ClientStreamClose_Request) GetStreamId ¶
func (m *ClientStreamClose_Request) GetStreamId() string
func (*ClientStreamClose_Request) ProtoMessage ¶
func (*ClientStreamClose_Request) ProtoMessage()
func (*ClientStreamClose_Request) Reset ¶
func (m *ClientStreamClose_Request) Reset()
func (*ClientStreamClose_Request) String ¶
func (m *ClientStreamClose_Request) String() string
func (*ClientStreamClose_Request) XXX_DiscardUnknown ¶
func (m *ClientStreamClose_Request) XXX_DiscardUnknown()
func (*ClientStreamClose_Request) XXX_Marshal ¶
func (m *ClientStreamClose_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamClose_Request) XXX_Merge ¶
func (m *ClientStreamClose_Request) XXX_Merge(src proto.Message)
func (*ClientStreamClose_Request) XXX_Size ¶
func (m *ClientStreamClose_Request) XXX_Size() int
func (*ClientStreamClose_Request) XXX_Unmarshal ¶
func (m *ClientStreamClose_Request) XXX_Unmarshal(b []byte) error
type ClientStreamRecv ¶
type ClientStreamRecv struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamRecv) Descriptor ¶
func (*ClientStreamRecv) Descriptor() ([]byte, []int)
func (*ClientStreamRecv) ProtoMessage ¶
func (*ClientStreamRecv) ProtoMessage()
func (*ClientStreamRecv) Reset ¶
func (m *ClientStreamRecv) Reset()
func (*ClientStreamRecv) String ¶
func (m *ClientStreamRecv) String() string
func (*ClientStreamRecv) XXX_DiscardUnknown ¶
func (m *ClientStreamRecv) XXX_DiscardUnknown()
func (*ClientStreamRecv) XXX_Marshal ¶
func (m *ClientStreamRecv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamRecv) XXX_Merge ¶
func (m *ClientStreamRecv) XXX_Merge(src proto.Message)
func (*ClientStreamRecv) XXX_Size ¶
func (m *ClientStreamRecv) XXX_Size() int
func (*ClientStreamRecv) XXX_Unmarshal ¶
func (m *ClientStreamRecv) XXX_Unmarshal(b []byte) error
type ClientStreamRecv_Reply ¶
type ClientStreamRecv_Reply struct { StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` Trailer []*Metadata `protobuf:"bytes,3,rep,name=trailer,proto3" json:"trailer,omitempty"` Error *Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamRecv_Reply) Descriptor ¶
func (*ClientStreamRecv_Reply) Descriptor() ([]byte, []int)
func (*ClientStreamRecv_Reply) GetError ¶
func (m *ClientStreamRecv_Reply) GetError() *Error
func (*ClientStreamRecv_Reply) GetPayload ¶
func (m *ClientStreamRecv_Reply) GetPayload() []byte
func (*ClientStreamRecv_Reply) GetStreamId ¶
func (m *ClientStreamRecv_Reply) GetStreamId() string
func (*ClientStreamRecv_Reply) GetTrailer ¶
func (m *ClientStreamRecv_Reply) GetTrailer() []*Metadata
func (*ClientStreamRecv_Reply) ProtoMessage ¶
func (*ClientStreamRecv_Reply) ProtoMessage()
func (*ClientStreamRecv_Reply) Reset ¶
func (m *ClientStreamRecv_Reply) Reset()
func (*ClientStreamRecv_Reply) String ¶
func (m *ClientStreamRecv_Reply) String() string
func (*ClientStreamRecv_Reply) XXX_DiscardUnknown ¶
func (m *ClientStreamRecv_Reply) XXX_DiscardUnknown()
func (*ClientStreamRecv_Reply) XXX_Marshal ¶
func (m *ClientStreamRecv_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamRecv_Reply) XXX_Merge ¶
func (m *ClientStreamRecv_Reply) XXX_Merge(src proto.Message)
func (*ClientStreamRecv_Reply) XXX_Size ¶
func (m *ClientStreamRecv_Reply) XXX_Size() int
func (*ClientStreamRecv_Reply) XXX_Unmarshal ¶
func (m *ClientStreamRecv_Reply) XXX_Unmarshal(b []byte) error
type ClientStreamRecv_Request ¶
type ClientStreamRecv_Request struct { StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamRecv_Request) Descriptor ¶
func (*ClientStreamRecv_Request) Descriptor() ([]byte, []int)
func (*ClientStreamRecv_Request) GetStreamId ¶
func (m *ClientStreamRecv_Request) GetStreamId() string
func (*ClientStreamRecv_Request) ProtoMessage ¶
func (*ClientStreamRecv_Request) ProtoMessage()
func (*ClientStreamRecv_Request) Reset ¶
func (m *ClientStreamRecv_Request) Reset()
func (*ClientStreamRecv_Request) String ¶
func (m *ClientStreamRecv_Request) String() string
func (*ClientStreamRecv_Request) XXX_DiscardUnknown ¶
func (m *ClientStreamRecv_Request) XXX_DiscardUnknown()
func (*ClientStreamRecv_Request) XXX_Marshal ¶
func (m *ClientStreamRecv_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamRecv_Request) XXX_Merge ¶
func (m *ClientStreamRecv_Request) XXX_Merge(src proto.Message)
func (*ClientStreamRecv_Request) XXX_Size ¶
func (m *ClientStreamRecv_Request) XXX_Size() int
func (*ClientStreamRecv_Request) XXX_Unmarshal ¶
func (m *ClientStreamRecv_Request) XXX_Unmarshal(b []byte) error
type ClientStreamSend ¶
type ClientStreamSend struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamSend) Descriptor ¶
func (*ClientStreamSend) Descriptor() ([]byte, []int)
func (*ClientStreamSend) ProtoMessage ¶
func (*ClientStreamSend) ProtoMessage()
func (*ClientStreamSend) Reset ¶
func (m *ClientStreamSend) Reset()
func (*ClientStreamSend) String ¶
func (m *ClientStreamSend) String() string
func (*ClientStreamSend) XXX_DiscardUnknown ¶
func (m *ClientStreamSend) XXX_DiscardUnknown()
func (*ClientStreamSend) XXX_Marshal ¶
func (m *ClientStreamSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamSend) XXX_Merge ¶
func (m *ClientStreamSend) XXX_Merge(src proto.Message)
func (*ClientStreamSend) XXX_Size ¶
func (m *ClientStreamSend) XXX_Size() int
func (*ClientStreamSend) XXX_Unmarshal ¶
func (m *ClientStreamSend) XXX_Unmarshal(b []byte) error
type ClientStreamSend_Reply ¶
type ClientStreamSend_Reply struct { StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Trailer []*Metadata `protobuf:"bytes,2,rep,name=trailer,proto3" json:"trailer,omitempty"` Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamSend_Reply) Descriptor ¶
func (*ClientStreamSend_Reply) Descriptor() ([]byte, []int)
func (*ClientStreamSend_Reply) GetError ¶
func (m *ClientStreamSend_Reply) GetError() *Error
func (*ClientStreamSend_Reply) GetStreamId ¶
func (m *ClientStreamSend_Reply) GetStreamId() string
func (*ClientStreamSend_Reply) GetTrailer ¶
func (m *ClientStreamSend_Reply) GetTrailer() []*Metadata
func (*ClientStreamSend_Reply) ProtoMessage ¶
func (*ClientStreamSend_Reply) ProtoMessage()
func (*ClientStreamSend_Reply) Reset ¶
func (m *ClientStreamSend_Reply) Reset()
func (*ClientStreamSend_Reply) String ¶
func (m *ClientStreamSend_Reply) String() string
func (*ClientStreamSend_Reply) XXX_DiscardUnknown ¶
func (m *ClientStreamSend_Reply) XXX_DiscardUnknown()
func (*ClientStreamSend_Reply) XXX_Marshal ¶
func (m *ClientStreamSend_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamSend_Reply) XXX_Merge ¶
func (m *ClientStreamSend_Reply) XXX_Merge(src proto.Message)
func (*ClientStreamSend_Reply) XXX_Size ¶
func (m *ClientStreamSend_Reply) XXX_Size() int
func (*ClientStreamSend_Reply) XXX_Unmarshal ¶
func (m *ClientStreamSend_Reply) XXX_Unmarshal(b []byte) error
type ClientStreamSend_Request ¶
type ClientStreamSend_Request struct { StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStreamSend_Request) Descriptor ¶
func (*ClientStreamSend_Request) Descriptor() ([]byte, []int)
func (*ClientStreamSend_Request) GetPayload ¶
func (m *ClientStreamSend_Request) GetPayload() []byte
func (*ClientStreamSend_Request) GetStreamId ¶
func (m *ClientStreamSend_Request) GetStreamId() string
func (*ClientStreamSend_Request) ProtoMessage ¶
func (*ClientStreamSend_Request) ProtoMessage()
func (*ClientStreamSend_Request) Reset ¶
func (m *ClientStreamSend_Request) Reset()
func (*ClientStreamSend_Request) String ¶
func (m *ClientStreamSend_Request) String() string
func (*ClientStreamSend_Request) XXX_DiscardUnknown ¶
func (m *ClientStreamSend_Request) XXX_DiscardUnknown()
func (*ClientStreamSend_Request) XXX_Marshal ¶
func (m *ClientStreamSend_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStreamSend_Request) XXX_Merge ¶
func (m *ClientStreamSend_Request) XXX_Merge(src proto.Message)
func (*ClientStreamSend_Request) XXX_Size ¶
func (m *ClientStreamSend_Request) XXX_Size() int
func (*ClientStreamSend_Request) XXX_Unmarshal ¶
func (m *ClientStreamSend_Request) XXX_Unmarshal(b []byte) error
type CloseAccount ¶
type CloseAccount struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseAccount) Descriptor ¶
func (*CloseAccount) Descriptor() ([]byte, []int)
func (*CloseAccount) ProtoMessage ¶
func (*CloseAccount) ProtoMessage()
func (*CloseAccount) Reset ¶
func (m *CloseAccount) Reset()
func (*CloseAccount) String ¶
func (m *CloseAccount) String() string
func (*CloseAccount) XXX_DiscardUnknown ¶
func (m *CloseAccount) XXX_DiscardUnknown()
func (*CloseAccount) XXX_Marshal ¶
func (m *CloseAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseAccount) XXX_Merge ¶
func (m *CloseAccount) XXX_Merge(src proto.Message)
func (*CloseAccount) XXX_Size ¶
func (m *CloseAccount) XXX_Size() int
func (*CloseAccount) XXX_Unmarshal ¶
func (m *CloseAccount) XXX_Unmarshal(b []byte) error
type CloseAccount_Reply ¶
type CloseAccount_Reply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseAccount_Reply) Descriptor ¶
func (*CloseAccount_Reply) Descriptor() ([]byte, []int)
func (*CloseAccount_Reply) ProtoMessage ¶
func (*CloseAccount_Reply) ProtoMessage()
func (*CloseAccount_Reply) Reset ¶
func (m *CloseAccount_Reply) Reset()
func (*CloseAccount_Reply) String ¶
func (m *CloseAccount_Reply) String() string
func (*CloseAccount_Reply) XXX_DiscardUnknown ¶
func (m *CloseAccount_Reply) XXX_DiscardUnknown()
func (*CloseAccount_Reply) XXX_Marshal ¶
func (m *CloseAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseAccount_Reply) XXX_Merge ¶
func (m *CloseAccount_Reply) XXX_Merge(src proto.Message)
func (*CloseAccount_Reply) XXX_Size ¶
func (m *CloseAccount_Reply) XXX_Size() int
func (*CloseAccount_Reply) XXX_Unmarshal ¶
func (m *CloseAccount_Reply) XXX_Unmarshal(b []byte) error
type CloseAccount_Request ¶
type CloseAccount_Request struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseAccount_Request) Descriptor ¶
func (*CloseAccount_Request) Descriptor() ([]byte, []int)
func (*CloseAccount_Request) ProtoMessage ¶
func (*CloseAccount_Request) ProtoMessage()
func (*CloseAccount_Request) Reset ¶
func (m *CloseAccount_Request) Reset()
func (*CloseAccount_Request) String ¶
func (m *CloseAccount_Request) String() string
func (*CloseAccount_Request) XXX_DiscardUnknown ¶
func (m *CloseAccount_Request) XXX_DiscardUnknown()
func (*CloseAccount_Request) XXX_Marshal ¶
func (m *CloseAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseAccount_Request) XXX_Merge ¶
func (m *CloseAccount_Request) XXX_Merge(src proto.Message)
func (*CloseAccount_Request) XXX_Size ¶
func (m *CloseAccount_Request) XXX_Size() int
func (*CloseAccount_Request) XXX_Unmarshal ¶
func (m *CloseAccount_Request) XXX_Unmarshal(b []byte) error
type Error ¶
type Error struct { GrpcErrorCode GRPCErrCode `` /* 137-byte string literal not displayed */ ErrorCode errcode.ErrCode `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3,enum=berty.errcode.ErrCode" json:"error_code,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) GetErrorCode ¶
func (*Error) GetGrpcErrorCode ¶
func (m *Error) GetGrpcErrorCode() GRPCErrCode
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type GRPCErrCode ¶
type GRPCErrCode int32
const ( // OK is returned on success. GRPCErrCode_OK GRPCErrCode = 0 // Canceled indicates the operation was canceled (typically by the caller). // // The gRPC framework will generate this error code when cancellation // is requested. GRPCErrCode_CANCELED GRPCErrCode = 1 // Unknown error. An example of where this error may be returned is // if a Status value received from another address space belongs to // an error-space that is not known in this address space. Also // errors raised by APIs that do not return enough error information // may be converted to this error. // // The gRPC framework will generate this error code in the above two // mentioned cases. GRPCErrCode_UNKNOWN GRPCErrCode = 2 // InvalidArgument indicates client specified an invalid argument. // Note that this differs from FailedPrecondition. It indicates arguments // that are problematic regardless of the state of the system // (e.g., a malformed file name). // // This error code will not be generated by the gRPC framework. GRPCErrCode_INVALID_ARGUMENT GRPCErrCode = 3 // DeadlineExceeded means operation expired before completion. // For operations that change the state of the system, this error may be // returned even if the operation has completed successfully. For // example, a successful response from a server could have been delayed // long enough for the deadline to expire. // // The gRPC framework will generate this error code when the deadline is // exceeded. GRPCErrCode_DEADLINE_EXCEEDED GRPCErrCode = 4 // NotFound means some requested entity (e.g., file or directory) was // not found. // // This error code will not be generated by the gRPC framework. GRPCErrCode_NOT_FOUND GRPCErrCode = 5 // AlreadyExists means an attempt to create an entity failed because one // already exists. // // This error code will not be generated by the gRPC framework. GRPCErrCode_ALREADY_EXISTS GRPCErrCode = 6 // PermissionDenied indicates the caller does not have permission to // execute the specified operation. It must not be used for rejections // caused by exhausting some resource (use ResourceExhausted // instead for those errors). It must not be // used if the caller cannot be identified (use Unauthenticated // instead for those errors). // // This error code will not be generated by the gRPC core framework, // but expect authentication middleware to use it. GRPCErrCode_PERMISSION_DENIED GRPCErrCode = 7 // ResourceExhausted indicates some resource has been exhausted, perhaps // a per-user quota, or perhaps the entire file system is out of space. // // This error code will be generated by the gRPC framework in // out-of-memory and server overload situations, or when a message is // larger than the configured maximum size. GRPCErrCode_RESOURCE_EXHAUSTED GRPCErrCode = 8 // FailedPrecondition indicates operation was rejected because the // system is not in a state required for the operation's execution. // For example, directory to be deleted may be non-empty, an rmdir // operation is applied to a non-directory, etc. // // A litmus test that may help a service implementor in deciding // between FailedPrecondition, Aborted, and Unavailable: // (a) Use Unavailable if the client can retry just the failing call. // (b) Use Aborted if the client should retry at a higher-level // (e.g., restarting a read-modify-write sequence). // (c) Use FailedPrecondition if the client should not retry until // the system state has been explicitly fixed. E.g., if an "rmdir" // fails because the directory is non-empty, FailedPrecondition // should be returned since the client should not retry unless // they have first fixed up the directory by deleting files from it. // (d) Use FailedPrecondition if the client performs conditional // REST Get/Update/Delete on a resource and the resource on the // server does not match the condition. E.g., conflicting // read-modify-write on the same resource. // // This error code will not be generated by the gRPC framework. GRPCErrCode_FAILED_PRECONDITION GRPCErrCode = 9 // Aborted indicates the operation was aborted, typically due to a // concurrency issue like sequencer check failures, transaction aborts, // etc. // // See litmus test above for deciding between FailedPrecondition, // Aborted, and Unavailable. // // This error code will not be generated by the gRPC framework. GRPCErrCode_ABORTED GRPCErrCode = 10 // OutOfRange means operation was attempted past the valid range. // E.g., seeking or reading past end of file. // // Unlike InvalidArgument, this error indicates a problem that may // be fixed if the system state changes. For example, a 32-bit file // system will generate InvalidArgument if asked to read at an // offset that is not in the range [0,2^32-1], but it will generate // OutOfRange if asked to read from an offset past the current // file size. // // There is a fair bit of overlap between FailedPrecondition and // OutOfRange. We recommend using OutOfRange (the more specific // error) when it applies so that callers who are iterating through // a space can easily look for an OutOfRange error to detect when // they are done. // // This error code will not be generated by the gRPC framework. GRPCErrCode_OUT_OF_RANGE GRPCErrCode = 11 // Unimplemented indicates operation is not implemented or not // supported/enabled in this service. // // This error code will be generated by the gRPC framework. Most // commonly, you will see this error code when a method implementation // is missing on the server. It can also be generated for unknown // compression algorithms or a disagreement as to whether an RPC should // be streaming. GRPCErrCode_UNIMPLEMENTED GRPCErrCode = 12 // Internal errors. Means some invariants expected by underlying // system has been broken. If you see one of these errors, // something is very broken. // // This error code will be generated by the gRPC framework in several // internal error conditions. GRPCErrCode_INTERNAL GRPCErrCode = 13 // Unavailable indicates the service is currently unavailable. // This is a most likely a transient condition and may be corrected // by retrying with a backoff. Note that it is not always safe to retry // non-idempotent operations. // // See litmus test above for deciding between FailedPrecondition, // Aborted, and Unavailable. // // This error code will be generated by the gRPC framework during // abrupt shutdown of a server process or network connection. GRPCErrCode_UNAVAILABLE GRPCErrCode = 14 // DataLoss indicates unrecoverable data loss or corruption. // // This error code will not be generated by the gRPC framework. GRPCErrCode_DATA_LOSS GRPCErrCode = 15 // Unauthenticated indicates the request does not have valid // authentication credentials for the operation. // // The gRPC framework will generate this error code when the // authentication metadata is invalid or a Credentials callback fails, // but also expect authentication middleware to generate it. GRPCErrCode_UNAUTHENTICATED GRPCErrCode = 16 )
func (GRPCErrCode) EnumDescriptor ¶
func (GRPCErrCode) EnumDescriptor() ([]byte, []int)
func (GRPCErrCode) String ¶
func (x GRPCErrCode) String() string
type GetGRPCListenerAddrs ¶
type GetGRPCListenerAddrs struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGRPCListenerAddrs) Descriptor ¶
func (*GetGRPCListenerAddrs) Descriptor() ([]byte, []int)
func (*GetGRPCListenerAddrs) ProtoMessage ¶
func (*GetGRPCListenerAddrs) ProtoMessage()
func (*GetGRPCListenerAddrs) Reset ¶
func (m *GetGRPCListenerAddrs) Reset()
func (*GetGRPCListenerAddrs) String ¶
func (m *GetGRPCListenerAddrs) String() string
func (*GetGRPCListenerAddrs) XXX_DiscardUnknown ¶
func (m *GetGRPCListenerAddrs) XXX_DiscardUnknown()
func (*GetGRPCListenerAddrs) XXX_Marshal ¶
func (m *GetGRPCListenerAddrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGRPCListenerAddrs) XXX_Merge ¶
func (m *GetGRPCListenerAddrs) XXX_Merge(src proto.Message)
func (*GetGRPCListenerAddrs) XXX_Size ¶
func (m *GetGRPCListenerAddrs) XXX_Size() int
func (*GetGRPCListenerAddrs) XXX_Unmarshal ¶
func (m *GetGRPCListenerAddrs) XXX_Unmarshal(b []byte) error
type GetGRPCListenerAddrs_Reply ¶
type GetGRPCListenerAddrs_Reply struct { Entries []*GetGRPCListenerAddrs_Reply_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGRPCListenerAddrs_Reply) Descriptor ¶
func (*GetGRPCListenerAddrs_Reply) Descriptor() ([]byte, []int)
func (*GetGRPCListenerAddrs_Reply) GetEntries ¶
func (m *GetGRPCListenerAddrs_Reply) GetEntries() []*GetGRPCListenerAddrs_Reply_Entry
func (*GetGRPCListenerAddrs_Reply) ProtoMessage ¶
func (*GetGRPCListenerAddrs_Reply) ProtoMessage()
func (*GetGRPCListenerAddrs_Reply) Reset ¶
func (m *GetGRPCListenerAddrs_Reply) Reset()
func (*GetGRPCListenerAddrs_Reply) String ¶
func (m *GetGRPCListenerAddrs_Reply) String() string
func (*GetGRPCListenerAddrs_Reply) XXX_DiscardUnknown ¶
func (m *GetGRPCListenerAddrs_Reply) XXX_DiscardUnknown()
func (*GetGRPCListenerAddrs_Reply) XXX_Marshal ¶
func (m *GetGRPCListenerAddrs_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGRPCListenerAddrs_Reply) XXX_Merge ¶
func (m *GetGRPCListenerAddrs_Reply) XXX_Merge(src proto.Message)
func (*GetGRPCListenerAddrs_Reply) XXX_Size ¶
func (m *GetGRPCListenerAddrs_Reply) XXX_Size() int
func (*GetGRPCListenerAddrs_Reply) XXX_Unmarshal ¶
func (m *GetGRPCListenerAddrs_Reply) XXX_Unmarshal(b []byte) error
type GetGRPCListenerAddrs_Reply_Entry ¶
type GetGRPCListenerAddrs_Reply_Entry struct { Proto string `protobuf:"bytes,1,opt,name=proto,proto3" json:"proto,omitempty"` Maddr string `protobuf:"bytes,2,opt,name=maddr,proto3" json:"maddr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGRPCListenerAddrs_Reply_Entry) Descriptor ¶
func (*GetGRPCListenerAddrs_Reply_Entry) Descriptor() ([]byte, []int)
func (*GetGRPCListenerAddrs_Reply_Entry) GetMaddr ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) GetMaddr() string
func (*GetGRPCListenerAddrs_Reply_Entry) GetProto ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) GetProto() string
func (*GetGRPCListenerAddrs_Reply_Entry) ProtoMessage ¶
func (*GetGRPCListenerAddrs_Reply_Entry) ProtoMessage()
func (*GetGRPCListenerAddrs_Reply_Entry) Reset ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) Reset()
func (*GetGRPCListenerAddrs_Reply_Entry) String ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) String() string
func (*GetGRPCListenerAddrs_Reply_Entry) XXX_DiscardUnknown ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_DiscardUnknown()
func (*GetGRPCListenerAddrs_Reply_Entry) XXX_Marshal ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGRPCListenerAddrs_Reply_Entry) XXX_Merge ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Merge(src proto.Message)
func (*GetGRPCListenerAddrs_Reply_Entry) XXX_Size ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Size() int
func (*GetGRPCListenerAddrs_Reply_Entry) XXX_Unmarshal ¶
func (m *GetGRPCListenerAddrs_Reply_Entry) XXX_Unmarshal(b []byte) error
type GetGRPCListenerAddrs_Request ¶
type GetGRPCListenerAddrs_Request struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGRPCListenerAddrs_Request) Descriptor ¶
func (*GetGRPCListenerAddrs_Request) Descriptor() ([]byte, []int)
func (*GetGRPCListenerAddrs_Request) ProtoMessage ¶
func (*GetGRPCListenerAddrs_Request) ProtoMessage()
func (*GetGRPCListenerAddrs_Request) Reset ¶
func (m *GetGRPCListenerAddrs_Request) Reset()
func (*GetGRPCListenerAddrs_Request) String ¶
func (m *GetGRPCListenerAddrs_Request) String() string
func (*GetGRPCListenerAddrs_Request) XXX_DiscardUnknown ¶
func (m *GetGRPCListenerAddrs_Request) XXX_DiscardUnknown()
func (*GetGRPCListenerAddrs_Request) XXX_Marshal ¶
func (m *GetGRPCListenerAddrs_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGRPCListenerAddrs_Request) XXX_Merge ¶
func (m *GetGRPCListenerAddrs_Request) XXX_Merge(src proto.Message)
func (*GetGRPCListenerAddrs_Request) XXX_Size ¶
func (m *GetGRPCListenerAddrs_Request) XXX_Size() int
func (*GetGRPCListenerAddrs_Request) XXX_Unmarshal ¶
func (m *GetGRPCListenerAddrs_Request) XXX_Unmarshal(b []byte) error
type Metadata ¶
type Metadata struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Metadata) Descriptor ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
type MethodDesc ¶
type MethodDesc struct { // Name is the method name only, without the service name or package name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // IsClientStream indicates whether the RPC is a client streaming RPC. IsClientStream bool `protobuf:"varint,2,opt,name=is_client_stream,json=isClientStream,proto3" json:"is_client_stream,omitempty"` // IsServerStream indicates whether the RPC is a server streaming RPC. IsServerStream bool `protobuf:"varint,3,opt,name=is_server_stream,json=isServerStream,proto3" json:"is_server_stream,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MethodDesc) Descriptor ¶
func (*MethodDesc) Descriptor() ([]byte, []int)
func (*MethodDesc) GetIsClientStream ¶
func (m *MethodDesc) GetIsClientStream() bool
func (*MethodDesc) GetIsServerStream ¶
func (m *MethodDesc) GetIsServerStream() bool
func (*MethodDesc) GetName ¶
func (m *MethodDesc) GetName() string
func (*MethodDesc) ProtoMessage ¶
func (*MethodDesc) ProtoMessage()
func (*MethodDesc) Reset ¶
func (m *MethodDesc) Reset()
func (*MethodDesc) String ¶
func (m *MethodDesc) String() string
func (*MethodDesc) XXX_DiscardUnknown ¶
func (m *MethodDesc) XXX_DiscardUnknown()
func (*MethodDesc) XXX_Marshal ¶
func (m *MethodDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MethodDesc) XXX_Merge ¶
func (m *MethodDesc) XXX_Merge(src proto.Message)
func (*MethodDesc) XXX_Size ¶
func (m *MethodDesc) XXX_Size() int
func (*MethodDesc) XXX_Unmarshal ¶
func (m *MethodDesc) XXX_Unmarshal(b []byte) error
type OpenAccount ¶
type OpenAccount struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenAccount) Descriptor ¶
func (*OpenAccount) Descriptor() ([]byte, []int)
func (*OpenAccount) ProtoMessage ¶
func (*OpenAccount) ProtoMessage()
func (*OpenAccount) Reset ¶
func (m *OpenAccount) Reset()
func (*OpenAccount) String ¶
func (m *OpenAccount) String() string
func (*OpenAccount) XXX_DiscardUnknown ¶
func (m *OpenAccount) XXX_DiscardUnknown()
func (*OpenAccount) XXX_Marshal ¶
func (m *OpenAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenAccount) XXX_Merge ¶
func (m *OpenAccount) XXX_Merge(src proto.Message)
func (*OpenAccount) XXX_Size ¶
func (m *OpenAccount) XXX_Size() int
func (*OpenAccount) XXX_Unmarshal ¶
func (m *OpenAccount) XXX_Unmarshal(b []byte) error
type OpenAccount_Reply ¶
type OpenAccount_Reply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenAccount_Reply) Descriptor ¶
func (*OpenAccount_Reply) Descriptor() ([]byte, []int)
func (*OpenAccount_Reply) ProtoMessage ¶
func (*OpenAccount_Reply) ProtoMessage()
func (*OpenAccount_Reply) Reset ¶
func (m *OpenAccount_Reply) Reset()
func (*OpenAccount_Reply) String ¶
func (m *OpenAccount_Reply) String() string
func (*OpenAccount_Reply) XXX_DiscardUnknown ¶
func (m *OpenAccount_Reply) XXX_DiscardUnknown()
func (*OpenAccount_Reply) XXX_Marshal ¶
func (m *OpenAccount_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenAccount_Reply) XXX_Merge ¶
func (m *OpenAccount_Reply) XXX_Merge(src proto.Message)
func (*OpenAccount_Reply) XXX_Size ¶
func (m *OpenAccount_Reply) XXX_Size() int
func (*OpenAccount_Reply) XXX_Unmarshal ¶
func (m *OpenAccount_Reply) XXX_Unmarshal(b []byte) error
type OpenAccount_Request ¶
type OpenAccount_Request struct { Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` Persistence bool `protobuf:"varint,2,opt,name=persistence,proto3" json:"persistence,omitempty"` LoggerFilters string `protobuf:"bytes,3,opt,name=logger_filters,json=loggerFilters,proto3" json:"logger_filters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenAccount_Request) Descriptor ¶
func (*OpenAccount_Request) Descriptor() ([]byte, []int)
func (*OpenAccount_Request) GetArgs ¶
func (m *OpenAccount_Request) GetArgs() []string
func (*OpenAccount_Request) GetLoggerFilters ¶
func (m *OpenAccount_Request) GetLoggerFilters() string
func (*OpenAccount_Request) GetPersistence ¶
func (m *OpenAccount_Request) GetPersistence() bool
func (*OpenAccount_Request) ProtoMessage ¶
func (*OpenAccount_Request) ProtoMessage()
func (*OpenAccount_Request) Reset ¶
func (m *OpenAccount_Request) Reset()
func (*OpenAccount_Request) String ¶
func (m *OpenAccount_Request) String() string
func (*OpenAccount_Request) XXX_DiscardUnknown ¶
func (m *OpenAccount_Request) XXX_DiscardUnknown()
func (*OpenAccount_Request) XXX_Marshal ¶
func (m *OpenAccount_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenAccount_Request) XXX_Merge ¶
func (m *OpenAccount_Request) XXX_Merge(src proto.Message)
func (*OpenAccount_Request) XXX_Size ¶
func (m *OpenAccount_Request) XXX_Size() int
func (*OpenAccount_Request) XXX_Unmarshal ¶
func (m *OpenAccount_Request) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { AccountServiceServer // WakeUp should be used for background task or similar task WakeUp(ctx context.Context) error // Close the service Close() error }
func NewService ¶
type UnimplementedAccountServiceServer ¶
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountServiceServer) ClientInvokeUnary ¶
func (*UnimplementedAccountServiceServer) ClientInvokeUnary(ctx context.Context, req *ClientInvokeUnary_Request) (*ClientInvokeUnary_Reply, error)
func (*UnimplementedAccountServiceServer) ClientStreamClose ¶
func (*UnimplementedAccountServiceServer) ClientStreamClose(ctx context.Context, req *ClientStreamClose_Request) (*ClientStreamClose_Reply, error)
func (*UnimplementedAccountServiceServer) ClientStreamRecv ¶
func (*UnimplementedAccountServiceServer) ClientStreamRecv(ctx context.Context, req *ClientStreamRecv_Request) (*ClientStreamRecv_Reply, error)
func (*UnimplementedAccountServiceServer) ClientStreamSend ¶
func (*UnimplementedAccountServiceServer) ClientStreamSend(ctx context.Context, req *ClientStreamSend_Request) (*ClientStreamSend_Reply, error)
func (*UnimplementedAccountServiceServer) CloseAccount ¶
func (*UnimplementedAccountServiceServer) CloseAccount(ctx context.Context, req *CloseAccount_Request) (*CloseAccount_Reply, error)
func (*UnimplementedAccountServiceServer) CreateClientStream ¶
func (*UnimplementedAccountServiceServer) CreateClientStream(ctx context.Context, req *ClientCreateStream_Request) (*ClientCreateStream_Reply, error)
func (*UnimplementedAccountServiceServer) GetGRPCListenerAddrs ¶
func (*UnimplementedAccountServiceServer) GetGRPCListenerAddrs(ctx context.Context, req *GetGRPCListenerAddrs_Request) (*GetGRPCListenerAddrs_Reply, error)
func (*UnimplementedAccountServiceServer) OpenAccount ¶
func (*UnimplementedAccountServiceServer) OpenAccount(ctx context.Context, req *OpenAccount_Request) (*OpenAccount_Reply, error)
Click to show internal directories.
Click to hide internal directories.