task

package
v0.0.0-...-1858a95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

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) MarshalTo

func (m *Applicants) MarshalTo(dAtA []byte) (int, 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 NewPopulatedDTO(r randyDto, easy bool) *DTO

func (*DTO) Descriptor

func (*DTO) Descriptor() ([]byte, []int)

func (*DTO) Equal

func (this *DTO) Equal(that interface{}) bool

func (*DTO) GetTags

func (m *DTO) GetTags() []string

func (*DTO) GetTask

func (m *DTO) GetTask() T

func (*DTO) GoString

func (this *DTO) GoString() string

func (*DTO) Marshal

func (m *DTO) Marshal() (dAtA []byte, err error)

func (*DTO) MarshalTo

func (m *DTO) MarshalTo(dAtA []byte) (int, error)

func (*DTO) ProtoMessage

func (*DTO) ProtoMessage()

func (*DTO) Reset

func (m *DTO) Reset()

func (*DTO) Size

func (m *DTO) Size() (n int)

func (*DTO) String

func (this *DTO) String() string

func (*DTO) Unmarshal

func (m *DTO) Unmarshal(dAtA []byte) error

func (*DTO) XXX_DiscardUnknown

func (m *DTO) XXX_DiscardUnknown()

func (*DTO) XXX_Marshal

func (m *DTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DTO) XXX_Merge

func (dst *DTO) XXX_Merge(src proto.Message)

func (*DTO) XXX_Size

func (m *DTO) XXX_Size() int

func (*DTO) XXX_Unmarshal

func (m *DTO) XXX_Unmarshal(b []byte) error

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 NewPopulatedInfo(r randyTask, easy bool) *Info

func (*Info) Descriptor

func (*Info) Descriptor() ([]byte, []int)

func (*Info) Equal

func (this *Info) Equal(that interface{}) bool

func (*Info) GetDescription

func (m *Info) GetDescription() string

func (*Info) GetTranslatedCategory

func (m *Info) GetTranslatedCategory() string

func (*Info) GetTranslatedName

func (m *Info) GetTranslatedName() string

func (*Info) GoString

func (this *Info) GoString() string

func (*Info) Marshal

func (m *Info) Marshal() (dAtA []byte, err error)

func (*Info) MarshalTo

func (m *Info) MarshalTo(dAtA []byte) (int, error)

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) Size

func (m *Info) Size() (n int)

func (*Info) String

func (this *Info) String() string

func (*Info) Unmarshal

func (m *Info) Unmarshal(dAtA []byte) error

func (*Info) XXX_DiscardUnknown

func (m *Info) XXX_DiscardUnknown()

func (*Info) XXX_Marshal

func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Info) XXX_Merge

func (dst *Info) XXX_Merge(src proto.Message)

func (*Info) XXX_Size

func (m *Info) XXX_Size() int

func (*Info) XXX_Unmarshal

func (m *Info) XXX_Unmarshal(b []byte) error

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 NewPopulatedPrice(r randyTask, easy bool) *Price

func (*Price) Descriptor

func (*Price) Descriptor() ([]byte, []int)

func (*Price) Equal

func (this *Price) Equal(that interface{}) bool

func (*Price) GetCurrency

func (m *Price) GetCurrency() string

func (*Price) GetSide

func (m *Price) GetSide() float64

func (*Price) GetSider

func (m *Price) GetSider() float64

func (*Price) GoString

func (this *Price) GoString() string

func (*Price) Marshal

func (m *Price) Marshal() (dAtA []byte, err error)

func (*Price) MarshalTo

func (m *Price) MarshalTo(dAtA []byte) (int, error)

func (*Price) ProtoMessage

func (*Price) ProtoMessage()

func (*Price) Reset

func (m *Price) Reset()

func (*Price) Size

func (m *Price) Size() (n int)

func (*Price) String

func (this *Price) String() string

func (*Price) Unmarshal

func (m *Price) Unmarshal(dAtA []byte) error

func (*Price) XXX_DiscardUnknown

func (m *Price) XXX_DiscardUnknown()

func (*Price) XXX_Marshal

func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Price) XXX_Merge

func (dst *Price) XXX_Merge(src proto.Message)

func (*Price) XXX_Size

func (m *Price) XXX_Size() int

func (*Price) XXX_Unmarshal

func (m *Price) XXX_Unmarshal(b []byte) error

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 NewPopulatedScore(r randyScorer, easy bool) *Score

func (*Score) Descriptor

func (*Score) Descriptor() ([]byte, []int)

func (*Score) Equal

func (this *Score) Equal(that interface{}) bool

func (*Score) GetFirstName

func (m *Score) GetFirstName() string

func (*Score) GetLastName

func (m *Score) GetLastName() string

func (*Score) GetScore

func (m *Score) GetScore() float64

func (*Score) GetSiderID

func (m *Score) GetSiderID() string

func (*Score) GoString

func (this *Score) GoString() string

func (*Score) Marshal

func (m *Score) Marshal() (dAtA []byte, err error)

func (*Score) MarshalTo

func (m *Score) MarshalTo(dAtA []byte) (int, error)

func (*Score) ProtoMessage

func (*Score) ProtoMessage()

func (*Score) Reset

func (m *Score) Reset()

func (*Score) Size

func (m *Score) Size() (n int)

func (*Score) String

func (this *Score) String() string

func (*Score) Unmarshal

func (m *Score) Unmarshal(dAtA []byte) error

func (*Score) XXX_DiscardUnknown

func (m *Score) XXX_DiscardUnknown()

func (*Score) XXX_Marshal

func (m *Score) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Score) XXX_Merge

func (dst *Score) XXX_Merge(src proto.Message)

func (*Score) XXX_Size

func (m *Score) XXX_Size() int

func (*Score) XXX_Unmarshal

func (m *Score) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *ScorerReply) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *ScorerRequest) MarshalTo(dAtA []byte) (int, 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 NewPopulatedScores(r randyScores, easy bool) *Scores

func (*Scores) Descriptor

func (*Scores) Descriptor() ([]byte, []int)

func (*Scores) Equal

func (this *Scores) Equal(that interface{}) bool

func (*Scores) GetApplicants

func (m *Scores) GetApplicants() []Score

func (*Scores) GetCountry

func (m *Scores) GetCountry() string

func (*Scores) GetDescription

func (m *Scores) GetDescription() string

func (*Scores) GetTags

func (m *Scores) GetTags() []string

func (*Scores) GetTaskID

func (m *Scores) GetTaskID() string

func (*Scores) GoString

func (this *Scores) GoString() string

func (*Scores) Marshal

func (m *Scores) Marshal() (dAtA []byte, err error)

func (*Scores) MarshalTo

func (m *Scores) MarshalTo(dAtA []byte) (int, error)

func (*Scores) ProtoMessage

func (*Scores) ProtoMessage()

func (*Scores) Reset

func (m *Scores) Reset()

func (*Scores) Size

func (m *Scores) Size() (n int)

func (*Scores) String

func (this *Scores) String() string

func (*Scores) Unmarshal

func (m *Scores) Unmarshal(dAtA []byte) error

func (*Scores) XXX_DiscardUnknown

func (m *Scores) XXX_DiscardUnknown()

func (*Scores) XXX_Marshal

func (m *Scores) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scores) XXX_Merge

func (dst *Scores) XXX_Merge(src proto.Message)

func (*Scores) XXX_Size

func (m *Scores) XXX_Size() int

func (*Scores) XXX_Unmarshal

func (m *Scores) XXX_Unmarshal(b []byte) error

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 NewPopulatedT(r randyTask, easy bool) *T

func (*T) Descriptor

func (*T) Descriptor() ([]byte, []int)

func (*T) Equal

func (this *T) Equal(that interface{}) bool

func (*T) GetApplicants

func (m *T) GetApplicants() []Applicants

func (*T) GetCountry

func (m *T) GetCountry() string

func (*T) GetCreatedAt

func (m *T) GetCreatedAt() time.Time

func (*T) GetDescription

func (m *T) GetDescription() string

func (*T) GetID

func (m *T) GetID() string

func (*T) GetName

func (m *T) GetName() string

func (*T) GetPricing

func (m *T) GetPricing() Price

func (*T) GetType

func (m *T) GetType() Type

func (*T) GetUpdatedAt

func (m *T) GetUpdatedAt() time.Time

func (*T) GoString

func (this *T) GoString() string

func (*T) Marshal

func (m *T) Marshal() (dAtA []byte, err error)

func (*T) MarshalTo

func (m *T) MarshalTo(dAtA []byte) (int, error)

func (*T) ProtoMessage

func (*T) ProtoMessage()

func (*T) Reset

func (m *T) Reset()

func (*T) Size

func (m *T) Size() (n int)

func (*T) String

func (this *T) String() string

func (*T) Unmarshal

func (m *T) Unmarshal(dAtA []byte) error

func (*T) XXX_DiscardUnknown

func (m *T) XXX_DiscardUnknown()

func (*T) XXX_Marshal

func (m *T) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*T) XXX_Merge

func (dst *T) XXX_Merge(src proto.Message)

func (*T) XXX_Size

func (m *T) XXX_Size() int

func (*T) XXX_Unmarshal

func (m *T) XXX_Unmarshal(b []byte) error

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 NewPopulatedTags(r randyTags, easy bool) *Tags

func (*Tags) Descriptor

func (*Tags) Descriptor() ([]byte, []int)

func (*Tags) Equal

func (this *Tags) Equal(that interface{}) bool

func (*Tags) GetID

func (m *Tags) GetID() string

func (*Tags) GetTags

func (m *Tags) GetTags() []string

func (*Tags) GoString

func (this *Tags) GoString() string

func (*Tags) Marshal

func (m *Tags) Marshal() (dAtA []byte, err error)

func (*Tags) MarshalTo

func (m *Tags) MarshalTo(dAtA []byte) (int, error)

func (*Tags) ProtoMessage

func (*Tags) ProtoMessage()

func (*Tags) Reset

func (m *Tags) Reset()

func (*Tags) Size

func (m *Tags) Size() (n int)

func (*Tags) String

func (this *Tags) String() string

func (*Tags) Unmarshal

func (m *Tags) Unmarshal(dAtA []byte) error

func (*Tags) XXX_DiscardUnknown

func (m *Tags) XXX_DiscardUnknown()

func (*Tags) XXX_Marshal

func (m *Tags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tags) XXX_Merge

func (dst *Tags) XXX_Merge(src proto.Message)

func (*Tags) XXX_Size

func (m *Tags) XXX_Size() int

func (*Tags) XXX_Unmarshal

func (m *Tags) XXX_Unmarshal(b []byte) error

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 NewPopulatedType(r randyTask, easy bool) *Type

func (*Type) Descriptor

func (*Type) Descriptor() ([]byte, []int)

func (*Type) Equal

func (this *Type) Equal(that interface{}) bool

func (*Type) GetCategory

func (m *Type) GetCategory() string

func (*Type) GetEn

func (m *Type) GetEn() Info

func (*Type) GetFr

func (m *Type) GetFr() Info

func (*Type) GetKey

func (m *Type) GetKey() string

func (*Type) GoString

func (this *Type) GoString() string

func (*Type) Marshal

func (m *Type) Marshal() (dAtA []byte, err error)

func (*Type) MarshalTo

func (m *Type) MarshalTo(dAtA []byte) (int, error)

func (*Type) ProtoMessage

func (*Type) ProtoMessage()

func (*Type) Reset

func (m *Type) Reset()

func (*Type) Size

func (m *Type) Size() (n int)

func (*Type) String

func (this *Type) String() string

func (*Type) Unmarshal

func (m *Type) Unmarshal(dAtA []byte) error

func (*Type) XXX_DiscardUnknown

func (m *Type) XXX_DiscardUnknown()

func (*Type) XXX_Marshal

func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Type) XXX_Merge

func (dst *Type) XXX_Merge(src proto.Message)

func (*Type) XXX_Size

func (m *Type) XXX_Size() int

func (*Type) XXX_Unmarshal

func (m *Type) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL