Documentation ¶
Index ¶
- Variables
- func RegisterScorerServer(s *grpc.Server, srv ScorerServer)
- type Applicants
- func (*Applicants) Descriptor() ([]byte, []int)
- func (this *Applicants) Equal(that interface{}) bool
- func (m *Applicants) GetAnswers() []string
- func (m *Applicants) GetID() string
- func (m *Applicants) GetStatus() string
- func (this *Applicants) GoString() string
- func (m *Applicants) Marshal() (dAtA []byte, err error)
- func (m *Applicants) MarshalTo(dAtA []byte) (int, error)
- func (*Applicants) ProtoMessage()
- func (m *Applicants) Reset()
- func (m *Applicants) Size() (n int)
- func (this *Applicants) String() string
- func (m *Applicants) Unmarshal(dAtA []byte) error
- func (m *Applicants) XXX_DiscardUnknown()
- func (m *Applicants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Applicants) XXX_Merge(src proto.Message)
- func (m *Applicants) XXX_Size() int
- func (m *Applicants) XXX_Unmarshal(b []byte) error
- type DTO
- func (*DTO) Descriptor() ([]byte, []int)
- func (this *DTO) Equal(that interface{}) bool
- func (m *DTO) GetTags() []string
- func (m *DTO) GetTask() T
- func (this *DTO) GoString() string
- func (m *DTO) Marshal() (dAtA []byte, err error)
- func (m *DTO) MarshalTo(dAtA []byte) (int, error)
- func (*DTO) ProtoMessage()
- func (m *DTO) Reset()
- func (m *DTO) Size() (n int)
- func (this *DTO) String() string
- func (m *DTO) Unmarshal(dAtA []byte) error
- func (m *DTO) XXX_DiscardUnknown()
- func (m *DTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DTO) XXX_Merge(src proto.Message)
- func (m *DTO) XXX_Size() int
- func (m *DTO) XXX_Unmarshal(b []byte) error
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (this *Info) Equal(that interface{}) bool
- func (m *Info) GetDescription() string
- func (m *Info) GetTranslatedCategory() string
- func (m *Info) GetTranslatedName() string
- func (this *Info) GoString() string
- func (m *Info) Marshal() (dAtA []byte, err error)
- func (m *Info) MarshalTo(dAtA []byte) (int, error)
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) Size() (n int)
- func (this *Info) String() string
- func (m *Info) Unmarshal(dAtA []byte) error
- func (m *Info) XXX_DiscardUnknown()
- func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Info) XXX_Merge(src proto.Message)
- func (m *Info) XXX_Size() int
- func (m *Info) XXX_Unmarshal(b []byte) error
- type Price
- func (*Price) Descriptor() ([]byte, []int)
- func (this *Price) Equal(that interface{}) bool
- func (m *Price) GetCurrency() string
- func (m *Price) GetSide() float64
- func (m *Price) GetSider() float64
- func (this *Price) GoString() string
- func (m *Price) Marshal() (dAtA []byte, err error)
- func (m *Price) MarshalTo(dAtA []byte) (int, error)
- func (*Price) ProtoMessage()
- func (m *Price) Reset()
- func (m *Price) Size() (n int)
- func (this *Price) String() string
- func (m *Price) Unmarshal(dAtA []byte) error
- func (m *Price) XXX_DiscardUnknown()
- func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Price) XXX_Merge(src proto.Message)
- func (m *Price) XXX_Size() int
- func (m *Price) XXX_Unmarshal(b []byte) error
- type Score
- func (*Score) Descriptor() ([]byte, []int)
- func (this *Score) Equal(that interface{}) bool
- func (m *Score) GetFirstName() string
- func (m *Score) GetLastName() string
- func (m *Score) GetScore() float64
- func (m *Score) GetSiderID() string
- func (this *Score) GoString() string
- func (m *Score) Marshal() (dAtA []byte, err error)
- func (m *Score) MarshalTo(dAtA []byte) (int, error)
- func (*Score) ProtoMessage()
- func (m *Score) Reset()
- func (m *Score) Size() (n int)
- func (this *Score) String() string
- func (m *Score) Unmarshal(dAtA []byte) error
- func (m *Score) XXX_DiscardUnknown()
- func (m *Score) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Score) XXX_Merge(src proto.Message)
- func (m *Score) XXX_Size() int
- func (m *Score) XXX_Unmarshal(b []byte) error
- type ScorerClient
- type ScorerReply
- func (*ScorerReply) Descriptor() ([]byte, []int)
- func (this *ScorerReply) Equal(that interface{}) bool
- func (m *ScorerReply) GetScores() []Score
- func (m *ScorerReply) GetTaskID() string
- func (this *ScorerReply) GoString() string
- func (m *ScorerReply) Marshal() (dAtA []byte, err error)
- func (m *ScorerReply) MarshalTo(dAtA []byte) (int, error)
- func (*ScorerReply) ProtoMessage()
- func (m *ScorerReply) Reset()
- func (m *ScorerReply) Size() (n int)
- func (this *ScorerReply) String() string
- func (m *ScorerReply) Unmarshal(dAtA []byte) error
- func (m *ScorerReply) XXX_DiscardUnknown()
- func (m *ScorerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ScorerReply) XXX_Merge(src proto.Message)
- func (m *ScorerReply) XXX_Size() int
- func (m *ScorerReply) XXX_Unmarshal(b []byte) error
- type ScorerRequest
- func (*ScorerRequest) Descriptor() ([]byte, []int)
- func (this *ScorerRequest) Equal(that interface{}) bool
- func (m *ScorerRequest) GetTaskID() string
- func (this *ScorerRequest) GoString() string
- func (m *ScorerRequest) Marshal() (dAtA []byte, err error)
- func (m *ScorerRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ScorerRequest) ProtoMessage()
- func (m *ScorerRequest) Reset()
- func (m *ScorerRequest) Size() (n int)
- func (this *ScorerRequest) String() string
- func (m *ScorerRequest) Unmarshal(dAtA []byte) error
- func (m *ScorerRequest) XXX_DiscardUnknown()
- func (m *ScorerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ScorerRequest) XXX_Merge(src proto.Message)
- func (m *ScorerRequest) XXX_Size() int
- func (m *ScorerRequest) XXX_Unmarshal(b []byte) error
- type ScorerServer
- type Scores
- func (*Scores) Descriptor() ([]byte, []int)
- func (this *Scores) Equal(that interface{}) bool
- func (m *Scores) GetApplicants() []Score
- func (m *Scores) GetCountry() string
- func (m *Scores) GetDescription() string
- func (m *Scores) GetTags() []string
- func (m *Scores) GetTaskID() string
- func (this *Scores) GoString() string
- func (m *Scores) Marshal() (dAtA []byte, err error)
- func (m *Scores) MarshalTo(dAtA []byte) (int, error)
- func (*Scores) ProtoMessage()
- func (m *Scores) Reset()
- func (m *Scores) Size() (n int)
- func (this *Scores) String() string
- func (m *Scores) Unmarshal(dAtA []byte) error
- func (m *Scores) XXX_DiscardUnknown()
- func (m *Scores) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Scores) XXX_Merge(src proto.Message)
- func (m *Scores) XXX_Size() int
- func (m *Scores) XXX_Unmarshal(b []byte) error
- type Store
- type T
- func (*T) Descriptor() ([]byte, []int)
- func (this *T) Equal(that interface{}) bool
- func (m *T) GetApplicants() []Applicants
- func (m *T) GetCountry() string
- func (m *T) GetCreatedAt() time.Time
- func (m *T) GetDescription() string
- func (m *T) GetID() string
- func (m *T) GetName() string
- func (m *T) GetPricing() Price
- func (m *T) GetType() Type
- func (m *T) GetUpdatedAt() time.Time
- func (this *T) GoString() string
- func (m *T) Marshal() (dAtA []byte, err error)
- func (m *T) MarshalTo(dAtA []byte) (int, error)
- func (*T) ProtoMessage()
- func (m *T) Reset()
- func (m *T) Size() (n int)
- func (this *T) String() string
- func (m *T) Unmarshal(dAtA []byte) error
- func (m *T) XXX_DiscardUnknown()
- func (m *T) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *T) XXX_Merge(src proto.Message)
- func (m *T) XXX_Size() int
- func (m *T) XXX_Unmarshal(b []byte) error
- type TagStore
- type Tags
- func (*Tags) Descriptor() ([]byte, []int)
- func (this *Tags) Equal(that interface{}) bool
- func (m *Tags) GetID() string
- func (m *Tags) GetTags() []string
- func (this *Tags) GoString() string
- func (m *Tags) Marshal() (dAtA []byte, err error)
- func (m *Tags) MarshalTo(dAtA []byte) (int, error)
- func (*Tags) ProtoMessage()
- func (m *Tags) Reset()
- func (m *Tags) Size() (n int)
- func (this *Tags) String() string
- func (m *Tags) Unmarshal(dAtA []byte) error
- func (m *Tags) XXX_DiscardUnknown()
- func (m *Tags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Tags) XXX_Merge(src proto.Message)
- func (m *Tags) XXX_Size() int
- func (m *Tags) XXX_Unmarshal(b []byte) error
- type Type
- func (*Type) Descriptor() ([]byte, []int)
- func (this *Type) Equal(that interface{}) bool
- func (m *Type) GetCategory() string
- func (m *Type) GetEn() Info
- func (m *Type) GetFr() Info
- func (m *Type) GetKey() string
- func (this *Type) GoString() string
- func (m *Type) Marshal() (dAtA []byte, err error)
- func (m *Type) MarshalTo(dAtA []byte) (int, error)
- func (*Type) ProtoMessage()
- func (m *Type) Reset()
- func (m *Type) Size() (n int)
- func (this *Type) String() string
- func (m *Type) Unmarshal(dAtA []byte) error
- func (m *Type) XXX_DiscardUnknown()
- func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Type) XXX_Merge(src proto.Message)
- func (m *Type) XXX_Size() int
- func (m *Type) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthDto = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDto = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthScorer = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowScorer = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthScores = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowScores = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthTags = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTags = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthTask = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTask = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterScorerServer ¶
func RegisterScorerServer(s *grpc.Server, srv ScorerServer)
Types ¶
type Applicants ¶
type Applicants struct { ID string `protobuf:"bytes,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"` Status string `protobuf:"bytes,2,opt,name=Status,json=status,proto3" json:"Status,omitempty"` Answers []string `protobuf:"bytes,3,rep,name=Answers,json=answers" json:"Answers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedApplicants ¶
func NewPopulatedApplicants(r randyTask, easy bool) *Applicants
func (*Applicants) Descriptor ¶
func (*Applicants) Descriptor() ([]byte, []int)
func (*Applicants) Equal ¶
func (this *Applicants) Equal(that interface{}) bool
func (*Applicants) GetAnswers ¶
func (m *Applicants) GetAnswers() []string
func (*Applicants) GetID ¶
func (m *Applicants) GetID() string
func (*Applicants) GetStatus ¶
func (m *Applicants) GetStatus() string
func (*Applicants) GoString ¶
func (this *Applicants) GoString() string
func (*Applicants) Marshal ¶
func (m *Applicants) Marshal() (dAtA []byte, err error)
func (*Applicants) ProtoMessage ¶
func (*Applicants) ProtoMessage()
func (*Applicants) Reset ¶
func (m *Applicants) Reset()
func (*Applicants) Size ¶
func (m *Applicants) Size() (n int)
func (*Applicants) String ¶
func (this *Applicants) String() string
func (*Applicants) Unmarshal ¶
func (m *Applicants) Unmarshal(dAtA []byte) error
func (*Applicants) XXX_DiscardUnknown ¶
func (m *Applicants) XXX_DiscardUnknown()
func (*Applicants) XXX_Marshal ¶
func (m *Applicants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Applicants) XXX_Merge ¶
func (dst *Applicants) XXX_Merge(src proto.Message)
func (*Applicants) XXX_Size ¶
func (m *Applicants) XXX_Size() int
func (*Applicants) XXX_Unmarshal ¶
func (m *Applicants) XXX_Unmarshal(b []byte) error
type DTO ¶
type DTO struct { Task T `protobuf:"bytes,1,opt,name=Task,json=task" json:"Task"` Tags []string `protobuf:"bytes,2,rep,name=Tags,json=tags" json:"Tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedDTO ¶
func (*DTO) Descriptor ¶
func (*DTO) ProtoMessage ¶
func (*DTO) ProtoMessage()
func (*DTO) XXX_DiscardUnknown ¶
func (m *DTO) XXX_DiscardUnknown()
func (*DTO) XXX_Unmarshal ¶
type Info ¶
type Info struct { TranslatedName string `protobuf:"bytes,1,opt,name=TranslatedName,json=translatedName,proto3" json:"TranslatedName,omitempty"` Description string `protobuf:"bytes,2,opt,name=Description,json=description,proto3" json:"Description,omitempty"` TranslatedCategory string `protobuf:"bytes,3,opt,name=TranslatedCategory,json=translatedCategory,proto3" json:"TranslatedCategory,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedInfo ¶
func (*Info) Descriptor ¶
func (*Info) GetDescription ¶
func (*Info) GetTranslatedCategory ¶
func (*Info) GetTranslatedName ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) XXX_DiscardUnknown ¶
func (m *Info) XXX_DiscardUnknown()
func (*Info) XXX_Unmarshal ¶
type Price ¶
type Price struct { Side float64 `protobuf:"fixed64,1,opt,name=Side,json=side,proto3" json:"Side,omitempty"` Currency string `protobuf:"bytes,2,opt,name=Currency,json=currency,proto3" json:"Currency,omitempty"` Sider float64 `protobuf:"fixed64,3,opt,name=Sider,json=sider,proto3" json:"Sider,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedPrice ¶
func (*Price) Descriptor ¶
func (*Price) GetCurrency ¶
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) XXX_DiscardUnknown ¶
func (m *Price) XXX_DiscardUnknown()
func (*Price) XXX_Marshal ¶
func (*Price) XXX_Unmarshal ¶
type Score ¶
type Score struct { SiderID string `protobuf:"bytes,1,opt,name=SiderID,json=siderID,proto3" json:"SiderID,omitempty"` Score float64 `protobuf:"fixed64,2,opt,name=Score,json=score,proto3" json:"Score,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=FirstName,json=firstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,4,opt,name=LastName,json=lastName,proto3" json:"LastName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedScore ¶
func (*Score) Descriptor ¶
func (*Score) GetFirstName ¶
func (*Score) GetLastName ¶
func (*Score) GetSiderID ¶
func (*Score) ProtoMessage ¶
func (*Score) ProtoMessage()
func (*Score) XXX_DiscardUnknown ¶
func (m *Score) XXX_DiscardUnknown()
func (*Score) XXX_Marshal ¶
func (*Score) XXX_Unmarshal ¶
type ScorerClient ¶
type ScorerClient interface {
Calculate(ctx context.Context, in *ScorerRequest, opts ...grpc.CallOption) (*ScorerReply, error)
}
ScorerClient is the client API for Scorer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewScorerClient ¶
func NewScorerClient(cc *grpc.ClientConn) ScorerClient
type ScorerReply ¶
type ScorerReply struct { TaskID string `protobuf:"bytes,1,opt,name=TaskID,json=taskID,proto3" json:"TaskID,omitempty"` Scores []Score `protobuf:"bytes,2,rep,name=Scores,json=scores" json:"Scores"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedScorerReply ¶
func NewPopulatedScorerReply(r randyScorer, easy bool) *ScorerReply
func (*ScorerReply) Descriptor ¶
func (*ScorerReply) Descriptor() ([]byte, []int)
func (*ScorerReply) Equal ¶
func (this *ScorerReply) Equal(that interface{}) bool
func (*ScorerReply) GetScores ¶
func (m *ScorerReply) GetScores() []Score
func (*ScorerReply) GetTaskID ¶
func (m *ScorerReply) GetTaskID() string
func (*ScorerReply) GoString ¶
func (this *ScorerReply) GoString() string
func (*ScorerReply) Marshal ¶
func (m *ScorerReply) Marshal() (dAtA []byte, err error)
func (*ScorerReply) ProtoMessage ¶
func (*ScorerReply) ProtoMessage()
func (*ScorerReply) Reset ¶
func (m *ScorerReply) Reset()
func (*ScorerReply) Size ¶
func (m *ScorerReply) Size() (n int)
func (*ScorerReply) String ¶
func (this *ScorerReply) String() string
func (*ScorerReply) Unmarshal ¶
func (m *ScorerReply) Unmarshal(dAtA []byte) error
func (*ScorerReply) XXX_DiscardUnknown ¶
func (m *ScorerReply) XXX_DiscardUnknown()
func (*ScorerReply) XXX_Marshal ¶
func (m *ScorerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScorerReply) XXX_Merge ¶
func (dst *ScorerReply) XXX_Merge(src proto.Message)
func (*ScorerReply) XXX_Size ¶
func (m *ScorerReply) XXX_Size() int
func (*ScorerReply) XXX_Unmarshal ¶
func (m *ScorerReply) XXX_Unmarshal(b []byte) error
type ScorerRequest ¶
type ScorerRequest struct { TaskID string `protobuf:"bytes,1,opt,name=TaskID,json=taskID,proto3" json:"TaskID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedScorerRequest ¶
func NewPopulatedScorerRequest(r randyScorer, easy bool) *ScorerRequest
func (*ScorerRequest) Descriptor ¶
func (*ScorerRequest) Descriptor() ([]byte, []int)
func (*ScorerRequest) Equal ¶
func (this *ScorerRequest) Equal(that interface{}) bool
func (*ScorerRequest) GetTaskID ¶
func (m *ScorerRequest) GetTaskID() string
func (*ScorerRequest) GoString ¶
func (this *ScorerRequest) GoString() string
func (*ScorerRequest) Marshal ¶
func (m *ScorerRequest) Marshal() (dAtA []byte, err error)
func (*ScorerRequest) ProtoMessage ¶
func (*ScorerRequest) ProtoMessage()
func (*ScorerRequest) Reset ¶
func (m *ScorerRequest) Reset()
func (*ScorerRequest) Size ¶
func (m *ScorerRequest) Size() (n int)
func (*ScorerRequest) String ¶
func (this *ScorerRequest) String() string
func (*ScorerRequest) Unmarshal ¶
func (m *ScorerRequest) Unmarshal(dAtA []byte) error
func (*ScorerRequest) XXX_DiscardUnknown ¶
func (m *ScorerRequest) XXX_DiscardUnknown()
func (*ScorerRequest) XXX_Marshal ¶
func (m *ScorerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScorerRequest) XXX_Merge ¶
func (dst *ScorerRequest) XXX_Merge(src proto.Message)
func (*ScorerRequest) XXX_Size ¶
func (m *ScorerRequest) XXX_Size() int
func (*ScorerRequest) XXX_Unmarshal ¶
func (m *ScorerRequest) XXX_Unmarshal(b []byte) error
type ScorerServer ¶
type ScorerServer interface {
Calculate(context.Context, *ScorerRequest) (*ScorerReply, error)
}
type Scores ¶
type Scores struct { TaskID string `protobuf:"bytes,1,opt,name=TaskID,json=taskID,proto3" json:"TaskID,omitempty"` Applicants []Score `protobuf:"bytes,2,rep,name=Applicants,json=applicants" json:"Applicants"` Description string `protobuf:"bytes,3,opt,name=Description,json=description,proto3" json:"Description,omitempty"` Country string `protobuf:"bytes,4,opt,name=Country,json=country,proto3" json:"Country,omitempty"` Tags []string `protobuf:"bytes,5,rep,name=Tags,json=tags" json:"Tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedScores ¶
func (*Scores) Descriptor ¶
func (*Scores) GetApplicants ¶
func (*Scores) GetCountry ¶
func (*Scores) GetDescription ¶
func (*Scores) ProtoMessage ¶
func (*Scores) ProtoMessage()
func (*Scores) XXX_DiscardUnknown ¶
func (m *Scores) XXX_DiscardUnknown()
func (*Scores) XXX_Marshal ¶
func (*Scores) XXX_Unmarshal ¶
type Store ¶
type Store interface { GetAllTasks(context.Context) ([]T, error) GetTasksByID(context.Context, []string) ([]T, error) }
Store to retrieve task by ID.
type T ¶
type T struct { ID string `protobuf:"bytes,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,json=name,proto3" json:"Name,omitempty"` Type Type `protobuf:"bytes,3,opt,name=Type,json=type" json:"Type"` Country string `protobuf:"bytes,4,opt,name=Country,json=country,proto3" json:"Country,omitempty"` Pricing Price `protobuf:"bytes,5,opt,name=Pricing,json=pricing" json:"Pricing"` CreatedAt time.Time `protobuf:"bytes,6,opt,name=CreatedAt,json=createdAt,stdtime" json:"CreatedAt"` UpdatedAt time.Time `protobuf:"bytes,7,opt,name=UpdatedAt,json=updatedAt,stdtime" json:"UpdatedAt"` Description string `protobuf:"bytes,8,opt,name=Description,json=description,proto3" json:"Description,omitempty"` Applicants []Applicants `protobuf:"bytes,9,rep,name=Applicants,json=applicants" json:"Applicants"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedT ¶
func (*T) Descriptor ¶
func (*T) GetApplicants ¶
func (m *T) GetApplicants() []Applicants
func (*T) GetCountry ¶
func (*T) GetCreatedAt ¶
func (*T) GetDescription ¶
func (*T) GetPricing ¶
func (*T) GetUpdatedAt ¶
func (*T) ProtoMessage ¶
func (*T) ProtoMessage()
func (*T) XXX_DiscardUnknown ¶
func (m *T) XXX_DiscardUnknown()
func (*T) XXX_Unmarshal ¶
type TagStore ¶
type TagStore interface { GetAllTags(context.Context) ([]Tags, error) GetTagsByID(context.Context, []string) ([]Tags, error) }
TagStore to retrieves task tags by task ID.
type Tags ¶
type Tags struct { ID string `protobuf:"bytes,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=Tags,json=tags" json:"Tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedTags ¶
func (*Tags) Descriptor ¶
func (*Tags) ProtoMessage ¶
func (*Tags) ProtoMessage()
func (*Tags) XXX_DiscardUnknown ¶
func (m *Tags) XXX_DiscardUnknown()
func (*Tags) XXX_Unmarshal ¶
type Type ¶
type Type struct { Category string `protobuf:"bytes,1,opt,name=Category,json=category,proto3" json:"Category,omitempty"` Key string `protobuf:"bytes,2,opt,name=Key,json=key,proto3" json:"Key,omitempty"` Fr Info `protobuf:"bytes,3,opt,name=Fr,json=fr" json:"Fr"` En Info `protobuf:"bytes,4,opt,name=En,json=en" json:"En"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedType ¶
func (*Type) Descriptor ¶
func (*Type) GetCategory ¶
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) XXX_DiscardUnknown ¶
func (m *Type) XXX_DiscardUnknown()
func (*Type) XXX_Unmarshal ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.