Documentation ¶
Index ¶
- func RegisterDummiesServer(s *grpc.Server, srv DummiesServer)
- type DummiesClient
- type DummiesPage
- func (*DummiesPage) Descriptor() ([]byte, []int)
- func (m *DummiesPage) GetData() []*Dummy
- func (m *DummiesPage) GetTotal() int64
- func (*DummiesPage) ProtoMessage()
- func (m *DummiesPage) Reset()
- func (m *DummiesPage) String() string
- func (m *DummiesPage) XXX_DiscardUnknown()
- func (m *DummiesPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummiesPage) XXX_Merge(src proto.Message)
- func (m *DummiesPage) XXX_Size() int
- func (m *DummiesPage) XXX_Unmarshal(b []byte) error
- type DummiesPageRequest
- func (*DummiesPageRequest) Descriptor() ([]byte, []int)
- func (m *DummiesPageRequest) GetCorrelationId() string
- func (m *DummiesPageRequest) GetFilter() map[string]string
- func (m *DummiesPageRequest) GetPaging() *PagingParams
- func (*DummiesPageRequest) ProtoMessage()
- func (m *DummiesPageRequest) Reset()
- func (m *DummiesPageRequest) String() string
- func (m *DummiesPageRequest) XXX_DiscardUnknown()
- func (m *DummiesPageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummiesPageRequest) XXX_Merge(src proto.Message)
- func (m *DummiesPageRequest) XXX_Size() int
- func (m *DummiesPageRequest) XXX_Unmarshal(b []byte) error
- type DummiesServer
- type Dummy
- func (*Dummy) Descriptor() ([]byte, []int)
- func (m *Dummy) GetContent() string
- func (m *Dummy) GetId() string
- func (m *Dummy) GetKey() string
- func (*Dummy) ProtoMessage()
- func (m *Dummy) Reset()
- func (m *Dummy) String() string
- func (m *Dummy) XXX_DiscardUnknown()
- func (m *Dummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dummy) XXX_Merge(src proto.Message)
- func (m *Dummy) XXX_Size() int
- func (m *Dummy) XXX_Unmarshal(b []byte) error
- type DummyIdRequest
- func (*DummyIdRequest) Descriptor() ([]byte, []int)
- func (m *DummyIdRequest) GetCorrelationId() string
- func (m *DummyIdRequest) GetDummyId() string
- func (*DummyIdRequest) ProtoMessage()
- func (m *DummyIdRequest) Reset()
- func (m *DummyIdRequest) String() string
- func (m *DummyIdRequest) XXX_DiscardUnknown()
- func (m *DummyIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummyIdRequest) XXX_Merge(src proto.Message)
- func (m *DummyIdRequest) XXX_Size() int
- func (m *DummyIdRequest) XXX_Unmarshal(b []byte) error
- type DummyObjectRequest
- func (*DummyObjectRequest) Descriptor() ([]byte, []int)
- func (m *DummyObjectRequest) GetCorrelationId() string
- func (m *DummyObjectRequest) GetDummy() *Dummy
- func (*DummyObjectRequest) ProtoMessage()
- func (m *DummyObjectRequest) Reset()
- func (m *DummyObjectRequest) String() string
- func (m *DummyObjectRequest) XXX_DiscardUnknown()
- func (m *DummyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummyObjectRequest) XXX_Merge(src proto.Message)
- func (m *DummyObjectRequest) XXX_Size() int
- func (m *DummyObjectRequest) XXX_Unmarshal(b []byte) error
- type ErrorDescription
- func (*ErrorDescription) Descriptor() ([]byte, []int)
- func (m *ErrorDescription) GetCategory() string
- func (m *ErrorDescription) GetCause() string
- func (m *ErrorDescription) GetCode() string
- func (m *ErrorDescription) GetCorrelationId() string
- func (m *ErrorDescription) GetDetails() map[string]string
- func (m *ErrorDescription) GetMessage() string
- func (m *ErrorDescription) GetStackTrace() string
- func (m *ErrorDescription) GetStatus() string
- func (*ErrorDescription) ProtoMessage()
- func (m *ErrorDescription) Reset()
- func (m *ErrorDescription) String() string
- func (m *ErrorDescription) XXX_DiscardUnknown()
- func (m *ErrorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorDescription) XXX_Merge(src proto.Message)
- func (m *ErrorDescription) XXX_Size() int
- func (m *ErrorDescription) XXX_Unmarshal(b []byte) error
- type PagingParams
- func (*PagingParams) Descriptor() ([]byte, []int)
- func (m *PagingParams) GetSkip() int64
- func (m *PagingParams) GetTake() int32
- func (m *PagingParams) GetTotal() bool
- func (*PagingParams) ProtoMessage()
- func (m *PagingParams) Reset()
- func (m *PagingParams) String() string
- func (m *PagingParams) XXX_DiscardUnknown()
- func (m *PagingParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PagingParams) XXX_Merge(src proto.Message)
- func (m *PagingParams) XXX_Size() int
- func (m *PagingParams) XXX_Unmarshal(b []byte) error
- type UnimplementedDummiesServer
- func (*UnimplementedDummiesServer) CreateDummy(ctx context.Context, req *DummyObjectRequest) (*Dummy, error)
- func (*UnimplementedDummiesServer) DeleteDummyById(ctx context.Context, req *DummyIdRequest) (*Dummy, error)
- func (*UnimplementedDummiesServer) GetDummies(ctx context.Context, req *DummiesPageRequest) (*DummiesPage, error)
- func (*UnimplementedDummiesServer) GetDummyById(ctx context.Context, req *DummyIdRequest) (*Dummy, error)
- func (*UnimplementedDummiesServer) UpdateDummy(ctx context.Context, req *DummyObjectRequest) (*Dummy, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDummiesServer ¶
func RegisterDummiesServer(s *grpc.Server, srv DummiesServer)
Types ¶
type DummiesClient ¶
type DummiesClient interface { GetDummies(ctx context.Context, in *DummiesPageRequest, opts ...grpc.CallOption) (*DummiesPage, error) GetDummyById(ctx context.Context, in *DummyIdRequest, opts ...grpc.CallOption) (*Dummy, error) CreateDummy(ctx context.Context, in *DummyObjectRequest, opts ...grpc.CallOption) (*Dummy, error) UpdateDummy(ctx context.Context, in *DummyObjectRequest, opts ...grpc.CallOption) (*Dummy, error) DeleteDummyById(ctx context.Context, in *DummyIdRequest, opts ...grpc.CallOption) (*Dummy, error) }
DummiesClient is the client API for Dummies service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDummiesClient ¶
func NewDummiesClient(cc grpc.ClientConnInterface) DummiesClient
type DummiesPage ¶
type DummiesPage struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Data []*Dummy `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DummiesPage) Descriptor ¶
func (*DummiesPage) Descriptor() ([]byte, []int)
func (*DummiesPage) GetData ¶
func (m *DummiesPage) GetData() []*Dummy
func (*DummiesPage) GetTotal ¶
func (m *DummiesPage) GetTotal() int64
func (*DummiesPage) ProtoMessage ¶
func (*DummiesPage) ProtoMessage()
func (*DummiesPage) Reset ¶
func (m *DummiesPage) Reset()
func (*DummiesPage) String ¶
func (m *DummiesPage) String() string
func (*DummiesPage) XXX_DiscardUnknown ¶
func (m *DummiesPage) XXX_DiscardUnknown()
func (*DummiesPage) XXX_Marshal ¶
func (m *DummiesPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummiesPage) XXX_Merge ¶
func (m *DummiesPage) XXX_Merge(src proto.Message)
func (*DummiesPage) XXX_Size ¶
func (m *DummiesPage) XXX_Size() int
func (*DummiesPage) XXX_Unmarshal ¶
func (m *DummiesPage) XXX_Unmarshal(b []byte) error
type DummiesPageRequest ¶
type DummiesPageRequest struct { CorrelationId string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` Filter map[string]string `` /* 153-byte string literal not displayed */ Paging *PagingParams `protobuf:"bytes,3,opt,name=paging,proto3" json:"paging,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message containing the page request.
func (*DummiesPageRequest) Descriptor ¶
func (*DummiesPageRequest) Descriptor() ([]byte, []int)
func (*DummiesPageRequest) GetCorrelationId ¶
func (m *DummiesPageRequest) GetCorrelationId() string
func (*DummiesPageRequest) GetFilter ¶
func (m *DummiesPageRequest) GetFilter() map[string]string
func (*DummiesPageRequest) GetPaging ¶
func (m *DummiesPageRequest) GetPaging() *PagingParams
func (*DummiesPageRequest) ProtoMessage ¶
func (*DummiesPageRequest) ProtoMessage()
func (*DummiesPageRequest) Reset ¶
func (m *DummiesPageRequest) Reset()
func (*DummiesPageRequest) String ¶
func (m *DummiesPageRequest) String() string
func (*DummiesPageRequest) XXX_DiscardUnknown ¶
func (m *DummiesPageRequest) XXX_DiscardUnknown()
func (*DummiesPageRequest) XXX_Marshal ¶
func (m *DummiesPageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummiesPageRequest) XXX_Merge ¶
func (m *DummiesPageRequest) XXX_Merge(src proto.Message)
func (*DummiesPageRequest) XXX_Size ¶
func (m *DummiesPageRequest) XXX_Size() int
func (*DummiesPageRequest) XXX_Unmarshal ¶
func (m *DummiesPageRequest) XXX_Unmarshal(b []byte) error
type DummiesServer ¶
type DummiesServer interface { GetDummies(context.Context, *DummiesPageRequest) (*DummiesPage, error) GetDummyById(context.Context, *DummyIdRequest) (*Dummy, error) CreateDummy(context.Context, *DummyObjectRequest) (*Dummy, error) UpdateDummy(context.Context, *DummyObjectRequest) (*Dummy, error) DeleteDummyById(context.Context, *DummyIdRequest) (*Dummy, error) }
DummiesServer is the server API for Dummies service.
type Dummy ¶
type Dummy struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Dummy) Descriptor ¶
func (*Dummy) GetContent ¶
func (*Dummy) ProtoMessage ¶
func (*Dummy) ProtoMessage()
func (*Dummy) XXX_DiscardUnknown ¶
func (m *Dummy) XXX_DiscardUnknown()
func (*Dummy) XXX_Marshal ¶
func (*Dummy) XXX_Unmarshal ¶
type DummyIdRequest ¶
type DummyIdRequest struct { CorrelationId string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` DummyId string `protobuf:"bytes,2,opt,name=dummy_id,json=dummyId,proto3" json:"dummy_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message containing the object id request.
func (*DummyIdRequest) Descriptor ¶
func (*DummyIdRequest) Descriptor() ([]byte, []int)
func (*DummyIdRequest) GetCorrelationId ¶
func (m *DummyIdRequest) GetCorrelationId() string
func (*DummyIdRequest) GetDummyId ¶
func (m *DummyIdRequest) GetDummyId() string
func (*DummyIdRequest) ProtoMessage ¶
func (*DummyIdRequest) ProtoMessage()
func (*DummyIdRequest) Reset ¶
func (m *DummyIdRequest) Reset()
func (*DummyIdRequest) String ¶
func (m *DummyIdRequest) String() string
func (*DummyIdRequest) XXX_DiscardUnknown ¶
func (m *DummyIdRequest) XXX_DiscardUnknown()
func (*DummyIdRequest) XXX_Marshal ¶
func (m *DummyIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummyIdRequest) XXX_Merge ¶
func (m *DummyIdRequest) XXX_Merge(src proto.Message)
func (*DummyIdRequest) XXX_Size ¶
func (m *DummyIdRequest) XXX_Size() int
func (*DummyIdRequest) XXX_Unmarshal ¶
func (m *DummyIdRequest) XXX_Unmarshal(b []byte) error
type DummyObjectRequest ¶
type DummyObjectRequest struct { CorrelationId string `protobuf:"bytes,1,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` Dummy *Dummy `protobuf:"bytes,2,opt,name=dummy,proto3" json:"dummy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message containing the object value request.
func (*DummyObjectRequest) Descriptor ¶
func (*DummyObjectRequest) Descriptor() ([]byte, []int)
func (*DummyObjectRequest) GetCorrelationId ¶
func (m *DummyObjectRequest) GetCorrelationId() string
func (*DummyObjectRequest) GetDummy ¶
func (m *DummyObjectRequest) GetDummy() *Dummy
func (*DummyObjectRequest) ProtoMessage ¶
func (*DummyObjectRequest) ProtoMessage()
func (*DummyObjectRequest) Reset ¶
func (m *DummyObjectRequest) Reset()
func (*DummyObjectRequest) String ¶
func (m *DummyObjectRequest) String() string
func (*DummyObjectRequest) XXX_DiscardUnknown ¶
func (m *DummyObjectRequest) XXX_DiscardUnknown()
func (*DummyObjectRequest) XXX_Marshal ¶
func (m *DummyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummyObjectRequest) XXX_Merge ¶
func (m *DummyObjectRequest) XXX_Merge(src proto.Message)
func (*DummyObjectRequest) XXX_Size ¶
func (m *DummyObjectRequest) XXX_Size() int
func (*DummyObjectRequest) XXX_Unmarshal ¶
func (m *DummyObjectRequest) XXX_Unmarshal(b []byte) error
type ErrorDescription ¶
type ErrorDescription struct { Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` CorrelationId string `protobuf:"bytes,3,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` Cause string `protobuf:"bytes,6,opt,name=cause,proto3" json:"cause,omitempty"` StackTrace string `protobuf:"bytes,7,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` Details map[string]string `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ErrorDescription) Descriptor ¶
func (*ErrorDescription) Descriptor() ([]byte, []int)
func (*ErrorDescription) GetCategory ¶
func (m *ErrorDescription) GetCategory() string
func (*ErrorDescription) GetCause ¶
func (m *ErrorDescription) GetCause() string
func (*ErrorDescription) GetCode ¶
func (m *ErrorDescription) GetCode() string
func (*ErrorDescription) GetCorrelationId ¶
func (m *ErrorDescription) GetCorrelationId() string
func (*ErrorDescription) GetDetails ¶
func (m *ErrorDescription) GetDetails() map[string]string
func (*ErrorDescription) GetMessage ¶
func (m *ErrorDescription) GetMessage() string
func (*ErrorDescription) GetStackTrace ¶
func (m *ErrorDescription) GetStackTrace() string
func (*ErrorDescription) GetStatus ¶
func (m *ErrorDescription) GetStatus() string
func (*ErrorDescription) ProtoMessage ¶
func (*ErrorDescription) ProtoMessage()
func (*ErrorDescription) Reset ¶
func (m *ErrorDescription) Reset()
func (*ErrorDescription) String ¶
func (m *ErrorDescription) String() string
func (*ErrorDescription) XXX_DiscardUnknown ¶
func (m *ErrorDescription) XXX_DiscardUnknown()
func (*ErrorDescription) XXX_Marshal ¶
func (m *ErrorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorDescription) XXX_Merge ¶
func (m *ErrorDescription) XXX_Merge(src proto.Message)
func (*ErrorDescription) XXX_Size ¶
func (m *ErrorDescription) XXX_Size() int
func (*ErrorDescription) XXX_Unmarshal ¶
func (m *ErrorDescription) XXX_Unmarshal(b []byte) error
type PagingParams ¶
type PagingParams struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Take int32 `protobuf:"varint,2,opt,name=take,proto3" json:"take,omitempty"` Total bool `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PagingParams) Descriptor ¶
func (*PagingParams) Descriptor() ([]byte, []int)
func (*PagingParams) GetSkip ¶
func (m *PagingParams) GetSkip() int64
func (*PagingParams) GetTake ¶
func (m *PagingParams) GetTake() int32
func (*PagingParams) GetTotal ¶
func (m *PagingParams) GetTotal() bool
func (*PagingParams) ProtoMessage ¶
func (*PagingParams) ProtoMessage()
func (*PagingParams) Reset ¶
func (m *PagingParams) Reset()
func (*PagingParams) String ¶
func (m *PagingParams) String() string
func (*PagingParams) XXX_DiscardUnknown ¶
func (m *PagingParams) XXX_DiscardUnknown()
func (*PagingParams) XXX_Marshal ¶
func (m *PagingParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PagingParams) XXX_Merge ¶
func (m *PagingParams) XXX_Merge(src proto.Message)
func (*PagingParams) XXX_Size ¶
func (m *PagingParams) XXX_Size() int
func (*PagingParams) XXX_Unmarshal ¶
func (m *PagingParams) XXX_Unmarshal(b []byte) error
type UnimplementedDummiesServer ¶
type UnimplementedDummiesServer struct { }
UnimplementedDummiesServer can be embedded to have forward compatible implementations.
func (*UnimplementedDummiesServer) CreateDummy ¶
func (*UnimplementedDummiesServer) CreateDummy(ctx context.Context, req *DummyObjectRequest) (*Dummy, error)
func (*UnimplementedDummiesServer) DeleteDummyById ¶
func (*UnimplementedDummiesServer) DeleteDummyById(ctx context.Context, req *DummyIdRequest) (*Dummy, error)
func (*UnimplementedDummiesServer) GetDummies ¶
func (*UnimplementedDummiesServer) GetDummies(ctx context.Context, req *DummiesPageRequest) (*DummiesPage, error)
func (*UnimplementedDummiesServer) GetDummyById ¶
func (*UnimplementedDummiesServer) GetDummyById(ctx context.Context, req *DummyIdRequest) (*Dummy, error)
func (*UnimplementedDummiesServer) UpdateDummy ¶
func (*UnimplementedDummiesServer) UpdateDummy(ctx context.Context, req *DummyObjectRequest) (*Dummy, error)
Click to show internal directories.
Click to hide internal directories.