Documentation ¶
Index ¶
- func NewAncestorServiceEndpoints() []*api.Endpoint
- func RegisterAncestorServiceHandler(s server.Server, hdlr AncestorServiceHandler, opts ...server.HandlerOption) error
- type AncestorService
- type AncestorServiceHandler
- type GetAncestorRequest
- func (*GetAncestorRequest) Descriptor() ([]byte, []int)
- func (m *GetAncestorRequest) GetFilter() *shared.DefaultFilter
- func (m *GetAncestorRequest) GetUuid() string
- func (*GetAncestorRequest) ProtoMessage()
- func (m *GetAncestorRequest) Reset()
- func (m *GetAncestorRequest) String() string
- func (m *GetAncestorRequest) Validate() error
- func (m *GetAncestorRequest) XXX_DiscardUnknown()
- func (m *GetAncestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAncestorRequest) XXX_Merge(src proto.Message)
- func (m *GetAncestorRequest) XXX_Size() int
- func (m *GetAncestorRequest) XXX_Unmarshal(b []byte) error
- type GetAncestorRequestValidationError
- func (e GetAncestorRequestValidationError) Cause() error
- func (e GetAncestorRequestValidationError) Error() string
- func (e GetAncestorRequestValidationError) ErrorName() string
- func (e GetAncestorRequestValidationError) Field() string
- func (e GetAncestorRequestValidationError) Key() bool
- func (e GetAncestorRequestValidationError) Reason() string
- type GetAncestorResponse
- func (*GetAncestorResponse) Descriptor() ([]byte, []int)
- func (m *GetAncestorResponse) GetData() *ancestor.AncestorFrontItem
- func (*GetAncestorResponse) ProtoMessage()
- func (m *GetAncestorResponse) Reset()
- func (m *GetAncestorResponse) String() string
- func (m *GetAncestorResponse) Validate() error
- func (m *GetAncestorResponse) XXX_DiscardUnknown()
- func (m *GetAncestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAncestorResponse) XXX_Merge(src proto.Message)
- func (m *GetAncestorResponse) XXX_Size() int
- func (m *GetAncestorResponse) XXX_Unmarshal(b []byte) error
- type GetAncestorResponseValidationError
- func (e GetAncestorResponseValidationError) Cause() error
- func (e GetAncestorResponseValidationError) Error() string
- func (e GetAncestorResponseValidationError) ErrorName() string
- func (e GetAncestorResponseValidationError) Field() string
- func (e GetAncestorResponseValidationError) Key() bool
- func (e GetAncestorResponseValidationError) Reason() string
- type PaginateAncestorRequest
- func (*PaginateAncestorRequest) Descriptor() ([]byte, []int)
- func (m *PaginateAncestorRequest) GetFilter() *shared.DefaultFilter
- func (m *PaginateAncestorRequest) GetLimit() int64
- func (m *PaginateAncestorRequest) GetSkip() int64
- func (m *PaginateAncestorRequest) GetSort() string
- func (*PaginateAncestorRequest) ProtoMessage()
- func (m *PaginateAncestorRequest) Reset()
- func (m *PaginateAncestorRequest) String() string
- func (m *PaginateAncestorRequest) Validate() error
- func (m *PaginateAncestorRequest) XXX_DiscardUnknown()
- func (m *PaginateAncestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateAncestorRequest) XXX_Merge(src proto.Message)
- func (m *PaginateAncestorRequest) XXX_Size() int
- func (m *PaginateAncestorRequest) XXX_Unmarshal(b []byte) error
- type PaginateAncestorRequestValidationError
- func (e PaginateAncestorRequestValidationError) Cause() error
- func (e PaginateAncestorRequestValidationError) Error() string
- func (e PaginateAncestorRequestValidationError) ErrorName() string
- func (e PaginateAncestorRequestValidationError) Field() string
- func (e PaginateAncestorRequestValidationError) Key() bool
- func (e PaginateAncestorRequestValidationError) Reason() string
- type PaginateAncestorResponse
- func (*PaginateAncestorResponse) Descriptor() ([]byte, []int)
- func (m *PaginateAncestorResponse) GetData() []*ancestor.AncestorFrontItem
- func (m *PaginateAncestorResponse) GetLimit() int64
- func (m *PaginateAncestorResponse) GetSkip() int64
- func (m *PaginateAncestorResponse) GetTotal() int64
- func (*PaginateAncestorResponse) ProtoMessage()
- func (m *PaginateAncestorResponse) Reset()
- func (m *PaginateAncestorResponse) String() string
- func (m *PaginateAncestorResponse) Validate() error
- func (m *PaginateAncestorResponse) XXX_DiscardUnknown()
- func (m *PaginateAncestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateAncestorResponse) XXX_Merge(src proto.Message)
- func (m *PaginateAncestorResponse) XXX_Size() int
- func (m *PaginateAncestorResponse) XXX_Unmarshal(b []byte) error
- type PaginateAncestorResponseValidationError
- func (e PaginateAncestorResponseValidationError) Cause() error
- func (e PaginateAncestorResponseValidationError) Error() string
- func (e PaginateAncestorResponseValidationError) ErrorName() string
- func (e PaginateAncestorResponseValidationError) Field() string
- func (e PaginateAncestorResponseValidationError) Key() bool
- func (e PaginateAncestorResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAncestorServiceHandler ¶
func RegisterAncestorServiceHandler(s server.Server, hdlr AncestorServiceHandler, opts ...server.HandlerOption) error
Types ¶
type AncestorService ¶
type AncestorService interface { Paginate(ctx context.Context, in *PaginateAncestorRequest, opts ...client.CallOption) (*PaginateAncestorResponse, error) Get(ctx context.Context, in *GetAncestorRequest, opts ...client.CallOption) (*GetAncestorResponse, error) }
func NewAncestorService ¶
func NewAncestorService(name string, c client.Client) AncestorService
type AncestorServiceHandler ¶
type AncestorServiceHandler interface { Paginate(context.Context, *PaginateAncestorRequest, *PaginateAncestorResponse) error Get(context.Context, *GetAncestorRequest, *GetAncestorResponse) error }
type GetAncestorRequest ¶
type GetAncestorRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` Filter *shared.DefaultFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter"` }
func (*GetAncestorRequest) Descriptor ¶
func (*GetAncestorRequest) Descriptor() ([]byte, []int)
func (*GetAncestorRequest) GetFilter ¶
func (m *GetAncestorRequest) GetFilter() *shared.DefaultFilter
func (*GetAncestorRequest) GetUuid ¶
func (m *GetAncestorRequest) GetUuid() string
func (*GetAncestorRequest) ProtoMessage ¶
func (*GetAncestorRequest) ProtoMessage()
func (*GetAncestorRequest) Reset ¶
func (m *GetAncestorRequest) Reset()
func (*GetAncestorRequest) String ¶
func (m *GetAncestorRequest) String() string
func (*GetAncestorRequest) Validate ¶
func (m *GetAncestorRequest) Validate() error
Validate checks the field values on GetAncestorRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetAncestorRequest) XXX_DiscardUnknown ¶
func (m *GetAncestorRequest) XXX_DiscardUnknown()
func (*GetAncestorRequest) XXX_Marshal ¶
func (m *GetAncestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAncestorRequest) XXX_Merge ¶
func (m *GetAncestorRequest) XXX_Merge(src proto.Message)
func (*GetAncestorRequest) XXX_Size ¶
func (m *GetAncestorRequest) XXX_Size() int
func (*GetAncestorRequest) XXX_Unmarshal ¶
func (m *GetAncestorRequest) XXX_Unmarshal(b []byte) error
type GetAncestorRequestValidationError ¶
type GetAncestorRequestValidationError struct {
// contains filtered or unexported fields
}
GetAncestorRequestValidationError is the validation error returned by GetAncestorRequest.Validate if the designated constraints aren't met.
func (GetAncestorRequestValidationError) Cause ¶
func (e GetAncestorRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAncestorRequestValidationError) Error ¶
func (e GetAncestorRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAncestorRequestValidationError) ErrorName ¶
func (e GetAncestorRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAncestorRequestValidationError) Field ¶
func (e GetAncestorRequestValidationError) Field() string
Field function returns field value.
func (GetAncestorRequestValidationError) Key ¶
func (e GetAncestorRequestValidationError) Key() bool
Key function returns key value.
func (GetAncestorRequestValidationError) Reason ¶
func (e GetAncestorRequestValidationError) Reason() string
Reason function returns reason value.
type GetAncestorResponse ¶
type GetAncestorResponse struct {
Data *ancestor.AncestorFrontItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}
func (*GetAncestorResponse) Descriptor ¶
func (*GetAncestorResponse) Descriptor() ([]byte, []int)
func (*GetAncestorResponse) GetData ¶
func (m *GetAncestorResponse) GetData() *ancestor.AncestorFrontItem
func (*GetAncestorResponse) ProtoMessage ¶
func (*GetAncestorResponse) ProtoMessage()
func (*GetAncestorResponse) Reset ¶
func (m *GetAncestorResponse) Reset()
func (*GetAncestorResponse) String ¶
func (m *GetAncestorResponse) String() string
func (*GetAncestorResponse) Validate ¶
func (m *GetAncestorResponse) Validate() error
Validate checks the field values on GetAncestorResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetAncestorResponse) XXX_DiscardUnknown ¶
func (m *GetAncestorResponse) XXX_DiscardUnknown()
func (*GetAncestorResponse) XXX_Marshal ¶
func (m *GetAncestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAncestorResponse) XXX_Merge ¶
func (m *GetAncestorResponse) XXX_Merge(src proto.Message)
func (*GetAncestorResponse) XXX_Size ¶
func (m *GetAncestorResponse) XXX_Size() int
func (*GetAncestorResponse) XXX_Unmarshal ¶
func (m *GetAncestorResponse) XXX_Unmarshal(b []byte) error
type GetAncestorResponseValidationError ¶
type GetAncestorResponseValidationError struct {
// contains filtered or unexported fields
}
GetAncestorResponseValidationError is the validation error returned by GetAncestorResponse.Validate if the designated constraints aren't met.
func (GetAncestorResponseValidationError) Cause ¶
func (e GetAncestorResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAncestorResponseValidationError) Error ¶
func (e GetAncestorResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAncestorResponseValidationError) ErrorName ¶
func (e GetAncestorResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAncestorResponseValidationError) Field ¶
func (e GetAncestorResponseValidationError) Field() string
Field function returns field value.
func (GetAncestorResponseValidationError) Key ¶
func (e GetAncestorResponseValidationError) Key() bool
Key function returns key value.
func (GetAncestorResponseValidationError) Reason ¶
func (e GetAncestorResponseValidationError) Reason() string
Reason function returns reason value.
type PaginateAncestorRequest ¶
type PaginateAncestorRequest struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit"` Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort"` Filter *shared.DefaultFilter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter"` }
func (*PaginateAncestorRequest) Descriptor ¶
func (*PaginateAncestorRequest) Descriptor() ([]byte, []int)
func (*PaginateAncestorRequest) GetFilter ¶
func (m *PaginateAncestorRequest) GetFilter() *shared.DefaultFilter
func (*PaginateAncestorRequest) GetLimit ¶
func (m *PaginateAncestorRequest) GetLimit() int64
func (*PaginateAncestorRequest) GetSkip ¶
func (m *PaginateAncestorRequest) GetSkip() int64
func (*PaginateAncestorRequest) GetSort ¶
func (m *PaginateAncestorRequest) GetSort() string
func (*PaginateAncestorRequest) ProtoMessage ¶
func (*PaginateAncestorRequest) ProtoMessage()
func (*PaginateAncestorRequest) Reset ¶
func (m *PaginateAncestorRequest) Reset()
func (*PaginateAncestorRequest) String ¶
func (m *PaginateAncestorRequest) String() string
func (*PaginateAncestorRequest) Validate ¶
func (m *PaginateAncestorRequest) Validate() error
Validate checks the field values on PaginateAncestorRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateAncestorRequest) XXX_DiscardUnknown ¶
func (m *PaginateAncestorRequest) XXX_DiscardUnknown()
func (*PaginateAncestorRequest) XXX_Marshal ¶
func (m *PaginateAncestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateAncestorRequest) XXX_Merge ¶
func (m *PaginateAncestorRequest) XXX_Merge(src proto.Message)
func (*PaginateAncestorRequest) XXX_Size ¶
func (m *PaginateAncestorRequest) XXX_Size() int
func (*PaginateAncestorRequest) XXX_Unmarshal ¶
func (m *PaginateAncestorRequest) XXX_Unmarshal(b []byte) error
type PaginateAncestorRequestValidationError ¶
type PaginateAncestorRequestValidationError struct {
// contains filtered or unexported fields
}
PaginateAncestorRequestValidationError is the validation error returned by PaginateAncestorRequest.Validate if the designated constraints aren't met.
func (PaginateAncestorRequestValidationError) Cause ¶
func (e PaginateAncestorRequestValidationError) Cause() error
Cause function returns cause value.
func (PaginateAncestorRequestValidationError) Error ¶
func (e PaginateAncestorRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateAncestorRequestValidationError) ErrorName ¶
func (e PaginateAncestorRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateAncestorRequestValidationError) Field ¶
func (e PaginateAncestorRequestValidationError) Field() string
Field function returns field value.
func (PaginateAncestorRequestValidationError) Key ¶
func (e PaginateAncestorRequestValidationError) Key() bool
Key function returns key value.
func (PaginateAncestorRequestValidationError) Reason ¶
func (e PaginateAncestorRequestValidationError) Reason() string
Reason function returns reason value.
type PaginateAncestorResponse ¶
type PaginateAncestorResponse struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit"` Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total"` Data []*ancestor.AncestorFrontItem `protobuf:"bytes,4,rep,name=data,proto3" json:"data"` }
func (*PaginateAncestorResponse) Descriptor ¶
func (*PaginateAncestorResponse) Descriptor() ([]byte, []int)
func (*PaginateAncestorResponse) GetData ¶
func (m *PaginateAncestorResponse) GetData() []*ancestor.AncestorFrontItem
func (*PaginateAncestorResponse) GetLimit ¶
func (m *PaginateAncestorResponse) GetLimit() int64
func (*PaginateAncestorResponse) GetSkip ¶
func (m *PaginateAncestorResponse) GetSkip() int64
func (*PaginateAncestorResponse) GetTotal ¶
func (m *PaginateAncestorResponse) GetTotal() int64
func (*PaginateAncestorResponse) ProtoMessage ¶
func (*PaginateAncestorResponse) ProtoMessage()
func (*PaginateAncestorResponse) Reset ¶
func (m *PaginateAncestorResponse) Reset()
func (*PaginateAncestorResponse) String ¶
func (m *PaginateAncestorResponse) String() string
func (*PaginateAncestorResponse) Validate ¶
func (m *PaginateAncestorResponse) Validate() error
Validate checks the field values on PaginateAncestorResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateAncestorResponse) XXX_DiscardUnknown ¶
func (m *PaginateAncestorResponse) XXX_DiscardUnknown()
func (*PaginateAncestorResponse) XXX_Marshal ¶
func (m *PaginateAncestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateAncestorResponse) XXX_Merge ¶
func (m *PaginateAncestorResponse) XXX_Merge(src proto.Message)
func (*PaginateAncestorResponse) XXX_Size ¶
func (m *PaginateAncestorResponse) XXX_Size() int
func (*PaginateAncestorResponse) XXX_Unmarshal ¶
func (m *PaginateAncestorResponse) XXX_Unmarshal(b []byte) error
type PaginateAncestorResponseValidationError ¶
type PaginateAncestorResponseValidationError struct {
// contains filtered or unexported fields
}
PaginateAncestorResponseValidationError is the validation error returned by PaginateAncestorResponse.Validate if the designated constraints aren't met.
func (PaginateAncestorResponseValidationError) Cause ¶
func (e PaginateAncestorResponseValidationError) Cause() error
Cause function returns cause value.
func (PaginateAncestorResponseValidationError) Error ¶
func (e PaginateAncestorResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateAncestorResponseValidationError) ErrorName ¶
func (e PaginateAncestorResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateAncestorResponseValidationError) Field ¶
func (e PaginateAncestorResponseValidationError) Field() string
Field function returns field value.
func (PaginateAncestorResponseValidationError) Key ¶
func (e PaginateAncestorResponseValidationError) Key() bool
Key function returns key value.
func (PaginateAncestorResponseValidationError) Reason ¶
func (e PaginateAncestorResponseValidationError) Reason() string
Reason function returns reason value.