Documentation ¶
Index ¶
- Variables
- func NewCareerCategoryServiceEndpoints() []*api.Endpoint
- func NewCareerServiceEndpoints() []*api.Endpoint
- func RegisterCareerCategoryServiceHandler(s server.Server, hdlr CareerCategoryServiceHandler, ...) error
- func RegisterCareerServiceHandler(s server.Server, hdlr CareerServiceHandler, opts ...server.HandlerOption) error
- type Career
- func (*Career) Descriptor() ([]byte, []int)
- func (m *Career) GetBody() string
- func (m *Career) GetCategory() string
- func (m *Career) GetCity() string
- func (m *Career) GetCode() string
- func (m *Career) GetCreatedAt() string
- func (m *Career) GetDescription() string
- func (m *Career) GetEmployment() EmploymentTypes
- func (m *Career) GetIsActive() bool
- func (m *Career) GetName() string
- func (m *Career) GetObject() string
- func (m *Career) GetPublishedAt() string
- func (m *Career) GetSalary() string
- func (m *Career) GetSortOrder() int64
- func (m *Career) GetUpdatedAt() string
- func (m *Career) GetUuid() string
- func (*Career) ProtoMessage()
- func (m *Career) Reset()
- func (m *Career) String() string
- func (m *Career) Validate() error
- func (m *Career) XXX_DiscardUnknown()
- func (m *Career) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Career) XXX_Merge(src proto.Message)
- func (m *Career) XXX_Size() int
- func (m *Career) XXX_Unmarshal(b []byte) error
- type CareerCategory
- func (*CareerCategory) Descriptor() ([]byte, []int)
- func (m *CareerCategory) GetCode() string
- func (m *CareerCategory) GetCreatedAt() string
- func (m *CareerCategory) GetDescription() string
- func (m *CareerCategory) GetIsActive() bool
- func (m *CareerCategory) GetName() string
- func (m *CareerCategory) GetSortOrder() int64
- func (m *CareerCategory) GetUpdatedAt() string
- func (m *CareerCategory) GetUuid() string
- func (*CareerCategory) ProtoMessage()
- func (m *CareerCategory) Reset()
- func (m *CareerCategory) String() string
- func (m *CareerCategory) Validate() error
- func (m *CareerCategory) XXX_DiscardUnknown()
- func (m *CareerCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CareerCategory) XXX_Merge(src proto.Message)
- func (m *CareerCategory) XXX_Size() int
- func (m *CareerCategory) XXX_Unmarshal(b []byte) error
- type CareerCategoryService
- type CareerCategoryServiceHandler
- type CareerCategoryValidationError
- func (e CareerCategoryValidationError) Cause() error
- func (e CareerCategoryValidationError) Error() string
- func (e CareerCategoryValidationError) ErrorName() string
- func (e CareerCategoryValidationError) Field() string
- func (e CareerCategoryValidationError) Key() bool
- func (e CareerCategoryValidationError) Reason() string
- type CareerService
- type CareerServiceHandler
- type CareerValidationError
- type CategoryPaginateRequest
- func (*CategoryPaginateRequest) Descriptor() ([]byte, []int)
- func (m *CategoryPaginateRequest) GetFilter() *CareerCategory
- func (m *CategoryPaginateRequest) GetLimit() int64
- func (m *CategoryPaginateRequest) GetSkip() int64
- func (m *CategoryPaginateRequest) GetSort() string
- func (*CategoryPaginateRequest) ProtoMessage()
- func (m *CategoryPaginateRequest) Reset()
- func (m *CategoryPaginateRequest) String() string
- func (m *CategoryPaginateRequest) Validate() error
- func (m *CategoryPaginateRequest) XXX_DiscardUnknown()
- func (m *CategoryPaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CategoryPaginateRequest) XXX_Merge(src proto.Message)
- func (m *CategoryPaginateRequest) XXX_Size() int
- func (m *CategoryPaginateRequest) XXX_Unmarshal(b []byte) error
- type CategoryPaginateRequestValidationError
- func (e CategoryPaginateRequestValidationError) Cause() error
- func (e CategoryPaginateRequestValidationError) Error() string
- func (e CategoryPaginateRequestValidationError) ErrorName() string
- func (e CategoryPaginateRequestValidationError) Field() string
- func (e CategoryPaginateRequestValidationError) Key() bool
- func (e CategoryPaginateRequestValidationError) Reason() string
- type CategoryPaginateResponse
- func (*CategoryPaginateResponse) Descriptor() ([]byte, []int)
- func (m *CategoryPaginateResponse) GetData() []*CareerCategory
- func (m *CategoryPaginateResponse) GetLimit() int64
- func (m *CategoryPaginateResponse) GetSkip() int64
- func (m *CategoryPaginateResponse) GetTotal() int64
- func (*CategoryPaginateResponse) ProtoMessage()
- func (m *CategoryPaginateResponse) Reset()
- func (m *CategoryPaginateResponse) String() string
- func (m *CategoryPaginateResponse) Validate() error
- func (m *CategoryPaginateResponse) XXX_DiscardUnknown()
- func (m *CategoryPaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CategoryPaginateResponse) XXX_Merge(src proto.Message)
- func (m *CategoryPaginateResponse) XXX_Size() int
- func (m *CategoryPaginateResponse) XXX_Unmarshal(b []byte) error
- type CategoryPaginateResponseValidationError
- func (e CategoryPaginateResponseValidationError) Cause() error
- func (e CategoryPaginateResponseValidationError) Error() string
- func (e CategoryPaginateResponseValidationError) ErrorName() string
- func (e CategoryPaginateResponseValidationError) Field() string
- func (e CategoryPaginateResponseValidationError) Key() bool
- func (e CategoryPaginateResponseValidationError) Reason() string
- type CategoryRequest
- func (*CategoryRequest) Descriptor() ([]byte, []int)
- func (m *CategoryRequest) GetData() *CareerCategory
- func (*CategoryRequest) ProtoMessage()
- func (m *CategoryRequest) Reset()
- func (m *CategoryRequest) String() string
- func (m *CategoryRequest) Validate() error
- func (m *CategoryRequest) XXX_DiscardUnknown()
- func (m *CategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CategoryRequest) XXX_Merge(src proto.Message)
- func (m *CategoryRequest) XXX_Size() int
- func (m *CategoryRequest) XXX_Unmarshal(b []byte) error
- type CategoryRequestValidationError
- func (e CategoryRequestValidationError) Cause() error
- func (e CategoryRequestValidationError) Error() string
- func (e CategoryRequestValidationError) ErrorName() string
- func (e CategoryRequestValidationError) Field() string
- func (e CategoryRequestValidationError) Key() bool
- func (e CategoryRequestValidationError) Reason() string
- type CategoryResponse
- func (*CategoryResponse) Descriptor() ([]byte, []int)
- func (m *CategoryResponse) GetData() *CareerCategory
- func (*CategoryResponse) ProtoMessage()
- func (m *CategoryResponse) Reset()
- func (m *CategoryResponse) String() string
- func (m *CategoryResponse) Validate() error
- func (m *CategoryResponse) XXX_DiscardUnknown()
- func (m *CategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CategoryResponse) XXX_Merge(src proto.Message)
- func (m *CategoryResponse) XXX_Size() int
- func (m *CategoryResponse) XXX_Unmarshal(b []byte) error
- type CategoryResponseValidationError
- func (e CategoryResponseValidationError) Cause() error
- func (e CategoryResponseValidationError) Error() string
- func (e CategoryResponseValidationError) ErrorName() string
- func (e CategoryResponseValidationError) Field() string
- func (e CategoryResponseValidationError) Key() bool
- func (e CategoryResponseValidationError) Reason() string
- type EmploymentTypes
- type PaginateRequest
- func (*PaginateRequest) Descriptor() ([]byte, []int)
- func (m *PaginateRequest) GetFilter() *Career
- func (m *PaginateRequest) GetLimit() int64
- func (m *PaginateRequest) GetSkip() int64
- func (m *PaginateRequest) GetSort() string
- func (*PaginateRequest) ProtoMessage()
- func (m *PaginateRequest) Reset()
- func (m *PaginateRequest) String() string
- func (m *PaginateRequest) Validate() error
- func (m *PaginateRequest) XXX_DiscardUnknown()
- func (m *PaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateRequest) XXX_Merge(src proto.Message)
- func (m *PaginateRequest) XXX_Size() int
- func (m *PaginateRequest) XXX_Unmarshal(b []byte) error
- type PaginateRequestValidationError
- func (e PaginateRequestValidationError) Cause() error
- func (e PaginateRequestValidationError) Error() string
- func (e PaginateRequestValidationError) ErrorName() string
- func (e PaginateRequestValidationError) Field() string
- func (e PaginateRequestValidationError) Key() bool
- func (e PaginateRequestValidationError) Reason() string
- type PaginateResponse
- func (*PaginateResponse) Descriptor() ([]byte, []int)
- func (m *PaginateResponse) GetData() []*Career
- func (m *PaginateResponse) GetLimit() int64
- func (m *PaginateResponse) GetSkip() int64
- func (m *PaginateResponse) GetTotal() int64
- func (*PaginateResponse) ProtoMessage()
- func (m *PaginateResponse) Reset()
- func (m *PaginateResponse) String() string
- func (m *PaginateResponse) Validate() error
- func (m *PaginateResponse) XXX_DiscardUnknown()
- func (m *PaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateResponse) XXX_Merge(src proto.Message)
- func (m *PaginateResponse) XXX_Size() int
- func (m *PaginateResponse) XXX_Unmarshal(b []byte) error
- type PaginateResponseValidationError
- func (e PaginateResponseValidationError) Cause() error
- func (e PaginateResponseValidationError) Error() string
- func (e PaginateResponseValidationError) ErrorName() string
- func (e PaginateResponseValidationError) Field() string
- func (e PaginateResponseValidationError) Key() bool
- func (e PaginateResponseValidationError) Reason() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetData() *Career
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) Validate() error
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type RequestValidationError
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetData() *Career
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) Validate() error
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type ResponseValidationError
Constants ¶
This section is empty.
Variables ¶
var EmploymentTypes_name = map[int32]string{
0: "Any",
1: "FullTime",
2: "PartTime",
3: "ProjectWork",
4: "Volunteering",
5: "Probation",
}
var EmploymentTypes_value = map[string]int32{
"Any": 0,
"FullTime": 1,
"PartTime": 2,
"ProjectWork": 3,
"Volunteering": 4,
"Probation": 5,
}
Functions ¶
func RegisterCareerCategoryServiceHandler ¶
func RegisterCareerCategoryServiceHandler(s server.Server, hdlr CareerCategoryServiceHandler, opts ...server.HandlerOption) error
func RegisterCareerServiceHandler ¶
func RegisterCareerServiceHandler(s server.Server, hdlr CareerServiceHandler, opts ...server.HandlerOption) error
Types ¶
type Career ¶
type Career struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty" bson:"code"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" bson:"description"` Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty" bson:"body"` IsActive bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty" bson:"is_active"` SortOrder int64 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty" bson:"sort_order"` Category string `protobuf:"bytes,8,opt,name=category,proto3" json:"category,omitempty" bson:"category"` City string `protobuf:"bytes,9,opt,name=city,proto3" json:"city,omitempty" bson:"city"` Object string `protobuf:"bytes,10,opt,name=object,proto3" json:"object,omitempty" bson:"object"` Employment EmploymentTypes `` /* 127-byte string literal not displayed */ Salary string `protobuf:"bytes,12,opt,name=salary,proto3" json:"salary,omitempty" bson:"salary"` PublishedAt string `protobuf:"bytes,13,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty" bson:"published_at"` CreatedAt string `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"` UpdatedAt string `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"` }
func (*Career) Descriptor ¶
func (*Career) GetCategory ¶
func (*Career) GetCreatedAt ¶
func (*Career) GetDescription ¶
func (*Career) GetEmployment ¶
func (m *Career) GetEmployment() EmploymentTypes
func (*Career) GetIsActive ¶
func (*Career) GetPublishedAt ¶
func (*Career) GetSortOrder ¶
func (*Career) GetUpdatedAt ¶
func (*Career) ProtoMessage ¶
func (*Career) ProtoMessage()
func (*Career) Validate ¶
Validate checks the field values on Career with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Career) XXX_DiscardUnknown ¶
func (m *Career) XXX_DiscardUnknown()
func (*Career) XXX_Marshal ¶
func (*Career) XXX_Unmarshal ¶
type CareerCategory ¶
type CareerCategory struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty" bson:"code"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" bson:"description"` IsActive bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty" bson:"is_active"` SortOrder int64 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty" bson:"sort_order"` CreatedAt string `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"` UpdatedAt string `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"` }
func (*CareerCategory) Descriptor ¶
func (*CareerCategory) Descriptor() ([]byte, []int)
func (*CareerCategory) GetCode ¶
func (m *CareerCategory) GetCode() string
func (*CareerCategory) GetCreatedAt ¶
func (m *CareerCategory) GetCreatedAt() string
func (*CareerCategory) GetDescription ¶
func (m *CareerCategory) GetDescription() string
func (*CareerCategory) GetIsActive ¶
func (m *CareerCategory) GetIsActive() bool
func (*CareerCategory) GetName ¶
func (m *CareerCategory) GetName() string
func (*CareerCategory) GetSortOrder ¶
func (m *CareerCategory) GetSortOrder() int64
func (*CareerCategory) GetUpdatedAt ¶
func (m *CareerCategory) GetUpdatedAt() string
func (*CareerCategory) GetUuid ¶
func (m *CareerCategory) GetUuid() string
func (*CareerCategory) ProtoMessage ¶
func (*CareerCategory) ProtoMessage()
func (*CareerCategory) Reset ¶
func (m *CareerCategory) Reset()
func (*CareerCategory) String ¶
func (m *CareerCategory) String() string
func (*CareerCategory) Validate ¶
func (m *CareerCategory) Validate() error
Validate checks the field values on CareerCategory with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CareerCategory) XXX_DiscardUnknown ¶
func (m *CareerCategory) XXX_DiscardUnknown()
func (*CareerCategory) XXX_Marshal ¶
func (m *CareerCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CareerCategory) XXX_Merge ¶
func (m *CareerCategory) XXX_Merge(src proto.Message)
func (*CareerCategory) XXX_Size ¶
func (m *CareerCategory) XXX_Size() int
func (*CareerCategory) XXX_Unmarshal ¶
func (m *CareerCategory) XXX_Unmarshal(b []byte) error
type CareerCategoryService ¶
type CareerCategoryService interface { Create(ctx context.Context, in *CategoryRequest, opts ...client.CallOption) (*CategoryResponse, error) Update(ctx context.Context, in *CategoryRequest, opts ...client.CallOption) (*CategoryResponse, error) Delete(ctx context.Context, in *CategoryRequest, opts ...client.CallOption) (*empty.Empty, error) Paginate(ctx context.Context, in *CategoryPaginateRequest, opts ...client.CallOption) (*CategoryPaginateResponse, error) Get(ctx context.Context, in *CategoryRequest, opts ...client.CallOption) (*CategoryResponse, error) }
func NewCareerCategoryService ¶
func NewCareerCategoryService(name string, c client.Client) CareerCategoryService
type CareerCategoryServiceHandler ¶
type CareerCategoryServiceHandler interface { Create(context.Context, *CategoryRequest, *CategoryResponse) error Update(context.Context, *CategoryRequest, *CategoryResponse) error Delete(context.Context, *CategoryRequest, *empty.Empty) error Paginate(context.Context, *CategoryPaginateRequest, *CategoryPaginateResponse) error Get(context.Context, *CategoryRequest, *CategoryResponse) error }
type CareerCategoryValidationError ¶
type CareerCategoryValidationError struct {
// contains filtered or unexported fields
}
CareerCategoryValidationError is the validation error returned by CareerCategory.Validate if the designated constraints aren't met.
func (CareerCategoryValidationError) Cause ¶
func (e CareerCategoryValidationError) Cause() error
Cause function returns cause value.
func (CareerCategoryValidationError) Error ¶
func (e CareerCategoryValidationError) Error() string
Error satisfies the builtin error interface
func (CareerCategoryValidationError) ErrorName ¶
func (e CareerCategoryValidationError) ErrorName() string
ErrorName returns error name.
func (CareerCategoryValidationError) Field ¶
func (e CareerCategoryValidationError) Field() string
Field function returns field value.
func (CareerCategoryValidationError) Key ¶
func (e CareerCategoryValidationError) Key() bool
Key function returns key value.
func (CareerCategoryValidationError) Reason ¶
func (e CareerCategoryValidationError) Reason() string
Reason function returns reason value.
type CareerService ¶
type CareerService interface { Create(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) Update(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) Delete(ctx context.Context, in *Request, opts ...client.CallOption) (*empty.Empty, error) Paginate(ctx context.Context, in *PaginateRequest, opts ...client.CallOption) (*PaginateResponse, error) Get(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) }
func NewCareerService ¶
func NewCareerService(name string, c client.Client) CareerService
type CareerServiceHandler ¶
type CareerServiceHandler interface { Create(context.Context, *Request, *Response) error Update(context.Context, *Request, *Response) error Delete(context.Context, *Request, *empty.Empty) error Paginate(context.Context, *PaginateRequest, *PaginateResponse) error Get(context.Context, *Request, *Response) error }
type CareerValidationError ¶
type CareerValidationError struct {
// contains filtered or unexported fields
}
CareerValidationError is the validation error returned by Career.Validate if the designated constraints aren't met.
func (CareerValidationError) Cause ¶
func (e CareerValidationError) Cause() error
Cause function returns cause value.
func (CareerValidationError) Error ¶
func (e CareerValidationError) Error() string
Error satisfies the builtin error interface
func (CareerValidationError) ErrorName ¶
func (e CareerValidationError) ErrorName() string
ErrorName returns error name.
func (CareerValidationError) Field ¶
func (e CareerValidationError) Field() string
Field function returns field value.
func (CareerValidationError) Key ¶
func (e CareerValidationError) Key() bool
Key function returns key value.
func (CareerValidationError) Reason ¶
func (e CareerValidationError) Reason() string
Reason function returns reason value.
type CategoryPaginateRequest ¶
type CategoryPaginateRequest struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"` Filter *CareerCategory `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` }
func (*CategoryPaginateRequest) Descriptor ¶
func (*CategoryPaginateRequest) Descriptor() ([]byte, []int)
func (*CategoryPaginateRequest) GetFilter ¶
func (m *CategoryPaginateRequest) GetFilter() *CareerCategory
func (*CategoryPaginateRequest) GetLimit ¶
func (m *CategoryPaginateRequest) GetLimit() int64
func (*CategoryPaginateRequest) GetSkip ¶
func (m *CategoryPaginateRequest) GetSkip() int64
func (*CategoryPaginateRequest) GetSort ¶
func (m *CategoryPaginateRequest) GetSort() string
func (*CategoryPaginateRequest) ProtoMessage ¶
func (*CategoryPaginateRequest) ProtoMessage()
func (*CategoryPaginateRequest) Reset ¶
func (m *CategoryPaginateRequest) Reset()
func (*CategoryPaginateRequest) String ¶
func (m *CategoryPaginateRequest) String() string
func (*CategoryPaginateRequest) Validate ¶
func (m *CategoryPaginateRequest) Validate() error
Validate checks the field values on CategoryPaginateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CategoryPaginateRequest) XXX_DiscardUnknown ¶
func (m *CategoryPaginateRequest) XXX_DiscardUnknown()
func (*CategoryPaginateRequest) XXX_Marshal ¶
func (m *CategoryPaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CategoryPaginateRequest) XXX_Merge ¶
func (m *CategoryPaginateRequest) XXX_Merge(src proto.Message)
func (*CategoryPaginateRequest) XXX_Size ¶
func (m *CategoryPaginateRequest) XXX_Size() int
func (*CategoryPaginateRequest) XXX_Unmarshal ¶
func (m *CategoryPaginateRequest) XXX_Unmarshal(b []byte) error
type CategoryPaginateRequestValidationError ¶
type CategoryPaginateRequestValidationError struct {
// contains filtered or unexported fields
}
CategoryPaginateRequestValidationError is the validation error returned by CategoryPaginateRequest.Validate if the designated constraints aren't met.
func (CategoryPaginateRequestValidationError) Cause ¶
func (e CategoryPaginateRequestValidationError) Cause() error
Cause function returns cause value.
func (CategoryPaginateRequestValidationError) Error ¶
func (e CategoryPaginateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CategoryPaginateRequestValidationError) ErrorName ¶
func (e CategoryPaginateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CategoryPaginateRequestValidationError) Field ¶
func (e CategoryPaginateRequestValidationError) Field() string
Field function returns field value.
func (CategoryPaginateRequestValidationError) Key ¶
func (e CategoryPaginateRequestValidationError) Key() bool
Key function returns key value.
func (CategoryPaginateRequestValidationError) Reason ¶
func (e CategoryPaginateRequestValidationError) Reason() string
Reason function returns reason value.
type CategoryPaginateResponse ¶
type CategoryPaginateResponse struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` Data []*CareerCategory `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` }
func (*CategoryPaginateResponse) Descriptor ¶
func (*CategoryPaginateResponse) Descriptor() ([]byte, []int)
func (*CategoryPaginateResponse) GetData ¶
func (m *CategoryPaginateResponse) GetData() []*CareerCategory
func (*CategoryPaginateResponse) GetLimit ¶
func (m *CategoryPaginateResponse) GetLimit() int64
func (*CategoryPaginateResponse) GetSkip ¶
func (m *CategoryPaginateResponse) GetSkip() int64
func (*CategoryPaginateResponse) GetTotal ¶
func (m *CategoryPaginateResponse) GetTotal() int64
func (*CategoryPaginateResponse) ProtoMessage ¶
func (*CategoryPaginateResponse) ProtoMessage()
func (*CategoryPaginateResponse) Reset ¶
func (m *CategoryPaginateResponse) Reset()
func (*CategoryPaginateResponse) String ¶
func (m *CategoryPaginateResponse) String() string
func (*CategoryPaginateResponse) Validate ¶
func (m *CategoryPaginateResponse) Validate() error
Validate checks the field values on CategoryPaginateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CategoryPaginateResponse) XXX_DiscardUnknown ¶
func (m *CategoryPaginateResponse) XXX_DiscardUnknown()
func (*CategoryPaginateResponse) XXX_Marshal ¶
func (m *CategoryPaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CategoryPaginateResponse) XXX_Merge ¶
func (m *CategoryPaginateResponse) XXX_Merge(src proto.Message)
func (*CategoryPaginateResponse) XXX_Size ¶
func (m *CategoryPaginateResponse) XXX_Size() int
func (*CategoryPaginateResponse) XXX_Unmarshal ¶
func (m *CategoryPaginateResponse) XXX_Unmarshal(b []byte) error
type CategoryPaginateResponseValidationError ¶
type CategoryPaginateResponseValidationError struct {
// contains filtered or unexported fields
}
CategoryPaginateResponseValidationError is the validation error returned by CategoryPaginateResponse.Validate if the designated constraints aren't met.
func (CategoryPaginateResponseValidationError) Cause ¶
func (e CategoryPaginateResponseValidationError) Cause() error
Cause function returns cause value.
func (CategoryPaginateResponseValidationError) Error ¶
func (e CategoryPaginateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CategoryPaginateResponseValidationError) ErrorName ¶
func (e CategoryPaginateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CategoryPaginateResponseValidationError) Field ¶
func (e CategoryPaginateResponseValidationError) Field() string
Field function returns field value.
func (CategoryPaginateResponseValidationError) Key ¶
func (e CategoryPaginateResponseValidationError) Key() bool
Key function returns key value.
func (CategoryPaginateResponseValidationError) Reason ¶
func (e CategoryPaginateResponseValidationError) Reason() string
Reason function returns reason value.
type CategoryRequest ¶
type CategoryRequest struct {
Data *CareerCategory `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*CategoryRequest) Descriptor ¶
func (*CategoryRequest) Descriptor() ([]byte, []int)
func (*CategoryRequest) GetData ¶
func (m *CategoryRequest) GetData() *CareerCategory
func (*CategoryRequest) ProtoMessage ¶
func (*CategoryRequest) ProtoMessage()
func (*CategoryRequest) Reset ¶
func (m *CategoryRequest) Reset()
func (*CategoryRequest) String ¶
func (m *CategoryRequest) String() string
func (*CategoryRequest) Validate ¶
func (m *CategoryRequest) Validate() error
Validate checks the field values on CategoryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CategoryRequest) XXX_DiscardUnknown ¶
func (m *CategoryRequest) XXX_DiscardUnknown()
func (*CategoryRequest) XXX_Marshal ¶
func (m *CategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CategoryRequest) XXX_Merge ¶
func (m *CategoryRequest) XXX_Merge(src proto.Message)
func (*CategoryRequest) XXX_Size ¶
func (m *CategoryRequest) XXX_Size() int
func (*CategoryRequest) XXX_Unmarshal ¶
func (m *CategoryRequest) XXX_Unmarshal(b []byte) error
type CategoryRequestValidationError ¶
type CategoryRequestValidationError struct {
// contains filtered or unexported fields
}
CategoryRequestValidationError is the validation error returned by CategoryRequest.Validate if the designated constraints aren't met.
func (CategoryRequestValidationError) Cause ¶
func (e CategoryRequestValidationError) Cause() error
Cause function returns cause value.
func (CategoryRequestValidationError) Error ¶
func (e CategoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CategoryRequestValidationError) ErrorName ¶
func (e CategoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CategoryRequestValidationError) Field ¶
func (e CategoryRequestValidationError) Field() string
Field function returns field value.
func (CategoryRequestValidationError) Key ¶
func (e CategoryRequestValidationError) Key() bool
Key function returns key value.
func (CategoryRequestValidationError) Reason ¶
func (e CategoryRequestValidationError) Reason() string
Reason function returns reason value.
type CategoryResponse ¶
type CategoryResponse struct {
Data *CareerCategory `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*CategoryResponse) Descriptor ¶
func (*CategoryResponse) Descriptor() ([]byte, []int)
func (*CategoryResponse) GetData ¶
func (m *CategoryResponse) GetData() *CareerCategory
func (*CategoryResponse) ProtoMessage ¶
func (*CategoryResponse) ProtoMessage()
func (*CategoryResponse) Reset ¶
func (m *CategoryResponse) Reset()
func (*CategoryResponse) String ¶
func (m *CategoryResponse) String() string
func (*CategoryResponse) Validate ¶
func (m *CategoryResponse) Validate() error
Validate checks the field values on CategoryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CategoryResponse) XXX_DiscardUnknown ¶
func (m *CategoryResponse) XXX_DiscardUnknown()
func (*CategoryResponse) XXX_Marshal ¶
func (m *CategoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CategoryResponse) XXX_Merge ¶
func (m *CategoryResponse) XXX_Merge(src proto.Message)
func (*CategoryResponse) XXX_Size ¶
func (m *CategoryResponse) XXX_Size() int
func (*CategoryResponse) XXX_Unmarshal ¶
func (m *CategoryResponse) XXX_Unmarshal(b []byte) error
type CategoryResponseValidationError ¶
type CategoryResponseValidationError struct {
// contains filtered or unexported fields
}
CategoryResponseValidationError is the validation error returned by CategoryResponse.Validate if the designated constraints aren't met.
func (CategoryResponseValidationError) Cause ¶
func (e CategoryResponseValidationError) Cause() error
Cause function returns cause value.
func (CategoryResponseValidationError) Error ¶
func (e CategoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CategoryResponseValidationError) ErrorName ¶
func (e CategoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CategoryResponseValidationError) Field ¶
func (e CategoryResponseValidationError) Field() string
Field function returns field value.
func (CategoryResponseValidationError) Key ¶
func (e CategoryResponseValidationError) Key() bool
Key function returns key value.
func (CategoryResponseValidationError) Reason ¶
func (e CategoryResponseValidationError) Reason() string
Reason function returns reason value.
type EmploymentTypes ¶
type EmploymentTypes int32
const ( EmploymentTypes_Any EmploymentTypes = 0 EmploymentTypes_FullTime EmploymentTypes = 1 EmploymentTypes_PartTime EmploymentTypes = 2 EmploymentTypes_ProjectWork EmploymentTypes = 3 EmploymentTypes_Volunteering EmploymentTypes = 4 EmploymentTypes_Probation EmploymentTypes = 5 )
func (EmploymentTypes) EnumDescriptor ¶
func (EmploymentTypes) EnumDescriptor() ([]byte, []int)
func (EmploymentTypes) String ¶
func (x EmploymentTypes) String() string
type PaginateRequest ¶
type PaginateRequest struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"` Filter *Career `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` }
func (*PaginateRequest) Descriptor ¶
func (*PaginateRequest) Descriptor() ([]byte, []int)
func (*PaginateRequest) GetFilter ¶
func (m *PaginateRequest) GetFilter() *Career
func (*PaginateRequest) GetLimit ¶
func (m *PaginateRequest) GetLimit() int64
func (*PaginateRequest) GetSkip ¶
func (m *PaginateRequest) GetSkip() int64
func (*PaginateRequest) GetSort ¶
func (m *PaginateRequest) GetSort() string
func (*PaginateRequest) ProtoMessage ¶
func (*PaginateRequest) ProtoMessage()
func (*PaginateRequest) Reset ¶
func (m *PaginateRequest) Reset()
func (*PaginateRequest) String ¶
func (m *PaginateRequest) String() string
func (*PaginateRequest) Validate ¶
func (m *PaginateRequest) Validate() error
Validate checks the field values on PaginateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateRequest) XXX_DiscardUnknown ¶
func (m *PaginateRequest) XXX_DiscardUnknown()
func (*PaginateRequest) XXX_Marshal ¶
func (m *PaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateRequest) XXX_Merge ¶
func (m *PaginateRequest) XXX_Merge(src proto.Message)
func (*PaginateRequest) XXX_Size ¶
func (m *PaginateRequest) XXX_Size() int
func (*PaginateRequest) XXX_Unmarshal ¶
func (m *PaginateRequest) XXX_Unmarshal(b []byte) error
type PaginateRequestValidationError ¶
type PaginateRequestValidationError struct {
// contains filtered or unexported fields
}
PaginateRequestValidationError is the validation error returned by PaginateRequest.Validate if the designated constraints aren't met.
func (PaginateRequestValidationError) Cause ¶
func (e PaginateRequestValidationError) Cause() error
Cause function returns cause value.
func (PaginateRequestValidationError) Error ¶
func (e PaginateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateRequestValidationError) ErrorName ¶
func (e PaginateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateRequestValidationError) Field ¶
func (e PaginateRequestValidationError) Field() string
Field function returns field value.
func (PaginateRequestValidationError) Key ¶
func (e PaginateRequestValidationError) Key() bool
Key function returns key value.
func (PaginateRequestValidationError) Reason ¶
func (e PaginateRequestValidationError) Reason() string
Reason function returns reason value.
type PaginateResponse ¶
type PaginateResponse struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` Data []*Career `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` }
func (*PaginateResponse) Descriptor ¶
func (*PaginateResponse) Descriptor() ([]byte, []int)
func (*PaginateResponse) GetData ¶
func (m *PaginateResponse) GetData() []*Career
func (*PaginateResponse) GetLimit ¶
func (m *PaginateResponse) GetLimit() int64
func (*PaginateResponse) GetSkip ¶
func (m *PaginateResponse) GetSkip() int64
func (*PaginateResponse) GetTotal ¶
func (m *PaginateResponse) GetTotal() int64
func (*PaginateResponse) ProtoMessage ¶
func (*PaginateResponse) ProtoMessage()
func (*PaginateResponse) Reset ¶
func (m *PaginateResponse) Reset()
func (*PaginateResponse) String ¶
func (m *PaginateResponse) String() string
func (*PaginateResponse) Validate ¶
func (m *PaginateResponse) Validate() error
Validate checks the field values on PaginateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateResponse) XXX_DiscardUnknown ¶
func (m *PaginateResponse) XXX_DiscardUnknown()
func (*PaginateResponse) XXX_Marshal ¶
func (m *PaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateResponse) XXX_Merge ¶
func (m *PaginateResponse) XXX_Merge(src proto.Message)
func (*PaginateResponse) XXX_Size ¶
func (m *PaginateResponse) XXX_Size() int
func (*PaginateResponse) XXX_Unmarshal ¶
func (m *PaginateResponse) XXX_Unmarshal(b []byte) error
type PaginateResponseValidationError ¶
type PaginateResponseValidationError struct {
// contains filtered or unexported fields
}
PaginateResponseValidationError is the validation error returned by PaginateResponse.Validate if the designated constraints aren't met.
func (PaginateResponseValidationError) Cause ¶
func (e PaginateResponseValidationError) Cause() error
Cause function returns cause value.
func (PaginateResponseValidationError) Error ¶
func (e PaginateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateResponseValidationError) ErrorName ¶
func (e PaginateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateResponseValidationError) Field ¶
func (e PaginateResponseValidationError) Field() string
Field function returns field value.
func (PaginateResponseValidationError) Key ¶
func (e PaginateResponseValidationError) Key() bool
Key function returns key value.
func (PaginateResponseValidationError) Reason ¶
func (e PaginateResponseValidationError) Reason() string
Reason function returns reason value.
type Request ¶
type Request struct {
Data *Career `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) Validate ¶
Validate checks the field values on Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type RequestValidationError ¶
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶
func (e RequestValidationError) Reason() string
Reason function returns reason value.
type Response ¶
type Response struct {
Data *Career `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) Validate ¶
Validate checks the field values on Response with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type ResponseValidationError ¶
type ResponseValidationError struct {
// contains filtered or unexported fields
}
ResponseValidationError is the validation error returned by Response.Validate if the designated constraints aren't met.
func (ResponseValidationError) Cause ¶
func (e ResponseValidationError) Cause() error
Cause function returns cause value.
func (ResponseValidationError) Error ¶
func (e ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseValidationError) ErrorName ¶
func (e ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseValidationError) Field ¶
func (e ResponseValidationError) Field() string
Field function returns field value.
func (ResponseValidationError) Key ¶
func (e ResponseValidationError) Key() bool
Key function returns key value.
func (ResponseValidationError) Reason ¶
func (e ResponseValidationError) Reason() string
Reason function returns reason value.