Documentation ¶
Index ¶
- func RegisterFreelancerHandlerServer(s *grpc.Server, srv FreelancerHandlerServer)
- type ExtendedFreelancer
- func (*ExtendedFreelancer) Descriptor() ([]byte, []int)
- func (m *ExtendedFreelancer) GetFirstName() string
- func (m *ExtendedFreelancer) GetFr() *Freelancer
- func (m *ExtendedFreelancer) GetSecondName() string
- func (*ExtendedFreelancer) ProtoMessage()
- func (m *ExtendedFreelancer) Reset()
- func (m *ExtendedFreelancer) String() string
- func (m *ExtendedFreelancer) XXX_DiscardUnknown()
- func (m *ExtendedFreelancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendedFreelancer) XXX_Merge(src proto.Message)
- func (m *ExtendedFreelancer) XXX_Size() int
- func (m *ExtendedFreelancer) XXX_Unmarshal(b []byte) error
- type Freelancer
- func (*Freelancer) Descriptor() ([]byte, []int)
- func (m *Freelancer) GetAccountId() int64
- func (m *Freelancer) GetAddress() string
- func (m *Freelancer) GetCity() int64
- func (m *Freelancer) GetCountry() int64
- func (m *Freelancer) GetExperienceLevelId() int64
- func (m *Freelancer) GetID() int64
- func (m *Freelancer) GetOverview() string
- func (m *Freelancer) GetPhone() string
- func (m *Freelancer) GetSpecialityId() int64
- func (m *Freelancer) GetTagLine() string
- func (*Freelancer) ProtoMessage()
- func (m *Freelancer) Reset()
- func (m *Freelancer) String() string
- func (m *Freelancer) XXX_DiscardUnknown()
- func (m *Freelancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Freelancer) XXX_Merge(src proto.Message)
- func (m *Freelancer) XXX_Size() int
- func (m *Freelancer) XXX_Unmarshal(b []byte) error
- type FreelancerHandlerClient
- type FreelancerHandlerServer
- type FreelancerID
- func (*FreelancerID) Descriptor() ([]byte, []int)
- func (m *FreelancerID) GetID() int64
- func (*FreelancerID) ProtoMessage()
- func (m *FreelancerID) Reset()
- func (m *FreelancerID) String() string
- func (m *FreelancerID) XXX_DiscardUnknown()
- func (m *FreelancerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreelancerID) XXX_Merge(src proto.Message)
- func (m *FreelancerID) XXX_Size() int
- func (m *FreelancerID) XXX_Unmarshal(b []byte) error
- type FreelancerOutput
- func (*FreelancerOutput) Descriptor() ([]byte, []int)
- func (m *FreelancerOutput) GetAccountId() int64
- func (m *FreelancerOutput) GetAddress() string
- func (m *FreelancerOutput) GetCity() string
- func (m *FreelancerOutput) GetCountry() string
- func (m *FreelancerOutput) GetExperienceLevelId() int64
- func (m *FreelancerOutput) GetID() int64
- func (m *FreelancerOutput) GetOverview() string
- func (m *FreelancerOutput) GetPhone() string
- func (m *FreelancerOutput) GetSpecialityId() int64
- func (m *FreelancerOutput) GetTagLine() string
- func (*FreelancerOutput) ProtoMessage()
- func (m *FreelancerOutput) Reset()
- func (m *FreelancerOutput) String() string
- func (m *FreelancerOutput) XXX_DiscardUnknown()
- func (m *FreelancerOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreelancerOutput) XXX_Merge(src proto.Message)
- func (m *FreelancerOutput) XXX_Size() int
- func (m *FreelancerOutput) XXX_Unmarshal(b []byte) error
- type UnimplementedFreelancerHandlerServer
- func (*UnimplementedFreelancerHandlerServer) CreateFreelancer(ctx context.Context, req *UserID) (*Freelancer, error)
- func (*UnimplementedFreelancerHandlerServer) Find(ctx context.Context, req *FreelancerID) (*ExtendedFreelancer, error)
- func (*UnimplementedFreelancerHandlerServer) FindByUser(ctx context.Context, req *UserID) (*Freelancer, error)
- type UserID
- func (*UserID) Descriptor() ([]byte, []int)
- func (m *UserID) GetID() int64
- func (*UserID) ProtoMessage()
- func (m *UserID) Reset()
- func (m *UserID) String() string
- func (m *UserID) XXX_DiscardUnknown()
- func (m *UserID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserID) XXX_Merge(src proto.Message)
- func (m *UserID) XXX_Size() int
- func (m *UserID) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFreelancerHandlerServer ¶
func RegisterFreelancerHandlerServer(s *grpc.Server, srv FreelancerHandlerServer)
Types ¶
type ExtendedFreelancer ¶
type ExtendedFreelancer struct { Fr *Freelancer `protobuf:"bytes,1,opt,name=Fr,proto3" json:"Fr,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=FirstName,proto3" json:"FirstName,omitempty"` SecondName string `protobuf:"bytes,3,opt,name=SecondName,proto3" json:"SecondName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtendedFreelancer) Descriptor ¶
func (*ExtendedFreelancer) Descriptor() ([]byte, []int)
func (*ExtendedFreelancer) GetFirstName ¶
func (m *ExtendedFreelancer) GetFirstName() string
func (*ExtendedFreelancer) GetFr ¶
func (m *ExtendedFreelancer) GetFr() *Freelancer
func (*ExtendedFreelancer) GetSecondName ¶
func (m *ExtendedFreelancer) GetSecondName() string
func (*ExtendedFreelancer) ProtoMessage ¶
func (*ExtendedFreelancer) ProtoMessage()
func (*ExtendedFreelancer) Reset ¶
func (m *ExtendedFreelancer) Reset()
func (*ExtendedFreelancer) String ¶
func (m *ExtendedFreelancer) String() string
func (*ExtendedFreelancer) XXX_DiscardUnknown ¶
func (m *ExtendedFreelancer) XXX_DiscardUnknown()
func (*ExtendedFreelancer) XXX_Marshal ¶
func (m *ExtendedFreelancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendedFreelancer) XXX_Merge ¶
func (m *ExtendedFreelancer) XXX_Merge(src proto.Message)
func (*ExtendedFreelancer) XXX_Size ¶
func (m *ExtendedFreelancer) XXX_Size() int
func (*ExtendedFreelancer) XXX_Unmarshal ¶
func (m *ExtendedFreelancer) XXX_Unmarshal(b []byte) error
type Freelancer ¶
type Freelancer struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` AccountId int64 `protobuf:"varint,2,opt,name=AccountId,proto3" json:"AccountId,omitempty"` Country int64 `protobuf:"varint,3,opt,name=Country,proto3" json:"Country,omitempty"` City int64 `protobuf:"varint,4,opt,name=City,proto3" json:"City,omitempty"` Address string `protobuf:"bytes,5,opt,name=Address,proto3" json:"Address,omitempty"` Phone string `protobuf:"bytes,6,opt,name=Phone,proto3" json:"Phone,omitempty"` TagLine string `protobuf:"bytes,7,opt,name=TagLine,proto3" json:"TagLine,omitempty"` Overview string `protobuf:"bytes,8,opt,name=Overview,proto3" json:"Overview,omitempty"` ExperienceLevelId int64 `protobuf:"varint,9,opt,name=ExperienceLevelId,proto3" json:"ExperienceLevelId,omitempty"` SpecialityId int64 `protobuf:"varint,10,opt,name=SpecialityId,proto3" json:"SpecialityId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Freelancer) Descriptor ¶
func (*Freelancer) Descriptor() ([]byte, []int)
func (*Freelancer) GetAccountId ¶
func (m *Freelancer) GetAccountId() int64
func (*Freelancer) GetAddress ¶
func (m *Freelancer) GetAddress() string
func (*Freelancer) GetCity ¶
func (m *Freelancer) GetCity() int64
func (*Freelancer) GetCountry ¶
func (m *Freelancer) GetCountry() int64
func (*Freelancer) GetExperienceLevelId ¶
func (m *Freelancer) GetExperienceLevelId() int64
func (*Freelancer) GetID ¶
func (m *Freelancer) GetID() int64
func (*Freelancer) GetOverview ¶
func (m *Freelancer) GetOverview() string
func (*Freelancer) GetPhone ¶
func (m *Freelancer) GetPhone() string
func (*Freelancer) GetSpecialityId ¶
func (m *Freelancer) GetSpecialityId() int64
func (*Freelancer) GetTagLine ¶
func (m *Freelancer) GetTagLine() string
func (*Freelancer) ProtoMessage ¶
func (*Freelancer) ProtoMessage()
func (*Freelancer) Reset ¶
func (m *Freelancer) Reset()
func (*Freelancer) String ¶
func (m *Freelancer) String() string
func (*Freelancer) XXX_DiscardUnknown ¶
func (m *Freelancer) XXX_DiscardUnknown()
func (*Freelancer) XXX_Marshal ¶
func (m *Freelancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Freelancer) XXX_Merge ¶
func (m *Freelancer) XXX_Merge(src proto.Message)
func (*Freelancer) XXX_Size ¶
func (m *Freelancer) XXX_Size() int
func (*Freelancer) XXX_Unmarshal ¶
func (m *Freelancer) XXX_Unmarshal(b []byte) error
type FreelancerHandlerClient ¶
type FreelancerHandlerClient interface { CreateFreelancer(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*Freelancer, error) FindByUser(ctx context.Context, in *UserID, opts ...grpc.CallOption) (*Freelancer, error) Find(ctx context.Context, in *FreelancerID, opts ...grpc.CallOption) (*ExtendedFreelancer, error) }
FreelancerHandlerClient is the client API for FreelancerHandler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFreelancerHandlerClient ¶
func NewFreelancerHandlerClient(cc *grpc.ClientConn) FreelancerHandlerClient
type FreelancerHandlerServer ¶
type FreelancerHandlerServer interface { CreateFreelancer(context.Context, *UserID) (*Freelancer, error) FindByUser(context.Context, *UserID) (*Freelancer, error) Find(context.Context, *FreelancerID) (*ExtendedFreelancer, error) }
FreelancerHandlerServer is the server API for FreelancerHandler service.
type FreelancerID ¶
type FreelancerID struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FreelancerID) Descriptor ¶
func (*FreelancerID) Descriptor() ([]byte, []int)
func (*FreelancerID) GetID ¶
func (m *FreelancerID) GetID() int64
func (*FreelancerID) ProtoMessage ¶
func (*FreelancerID) ProtoMessage()
func (*FreelancerID) Reset ¶
func (m *FreelancerID) Reset()
func (*FreelancerID) String ¶
func (m *FreelancerID) String() string
func (*FreelancerID) XXX_DiscardUnknown ¶
func (m *FreelancerID) XXX_DiscardUnknown()
func (*FreelancerID) XXX_Marshal ¶
func (m *FreelancerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreelancerID) XXX_Merge ¶
func (m *FreelancerID) XXX_Merge(src proto.Message)
func (*FreelancerID) XXX_Size ¶
func (m *FreelancerID) XXX_Size() int
func (*FreelancerID) XXX_Unmarshal ¶
func (m *FreelancerID) XXX_Unmarshal(b []byte) error
type FreelancerOutput ¶
type FreelancerOutput struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` AccountId int64 `protobuf:"varint,2,opt,name=AccountId,proto3" json:"AccountId,omitempty"` Country string `protobuf:"bytes,3,opt,name=Country,proto3" json:"Country,omitempty"` City string `protobuf:"bytes,4,opt,name=City,proto3" json:"City,omitempty"` Address string `protobuf:"bytes,5,opt,name=Address,proto3" json:"Address,omitempty"` Phone string `protobuf:"bytes,6,opt,name=Phone,proto3" json:"Phone,omitempty"` TagLine string `protobuf:"bytes,7,opt,name=TagLine,proto3" json:"TagLine,omitempty"` Overview string `protobuf:"bytes,8,opt,name=Overview,proto3" json:"Overview,omitempty"` ExperienceLevelId int64 `protobuf:"varint,9,opt,name=ExperienceLevelId,proto3" json:"ExperienceLevelId,omitempty"` SpecialityId int64 `protobuf:"varint,10,opt,name=SpecialityId,proto3" json:"SpecialityId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FreelancerOutput) Descriptor ¶
func (*FreelancerOutput) Descriptor() ([]byte, []int)
func (*FreelancerOutput) GetAccountId ¶
func (m *FreelancerOutput) GetAccountId() int64
func (*FreelancerOutput) GetAddress ¶
func (m *FreelancerOutput) GetAddress() string
func (*FreelancerOutput) GetCity ¶
func (m *FreelancerOutput) GetCity() string
func (*FreelancerOutput) GetCountry ¶
func (m *FreelancerOutput) GetCountry() string
func (*FreelancerOutput) GetExperienceLevelId ¶
func (m *FreelancerOutput) GetExperienceLevelId() int64
func (*FreelancerOutput) GetID ¶
func (m *FreelancerOutput) GetID() int64
func (*FreelancerOutput) GetOverview ¶
func (m *FreelancerOutput) GetOverview() string
func (*FreelancerOutput) GetPhone ¶
func (m *FreelancerOutput) GetPhone() string
func (*FreelancerOutput) GetSpecialityId ¶
func (m *FreelancerOutput) GetSpecialityId() int64
func (*FreelancerOutput) GetTagLine ¶
func (m *FreelancerOutput) GetTagLine() string
func (*FreelancerOutput) ProtoMessage ¶
func (*FreelancerOutput) ProtoMessage()
func (*FreelancerOutput) Reset ¶
func (m *FreelancerOutput) Reset()
func (*FreelancerOutput) String ¶
func (m *FreelancerOutput) String() string
func (*FreelancerOutput) XXX_DiscardUnknown ¶
func (m *FreelancerOutput) XXX_DiscardUnknown()
func (*FreelancerOutput) XXX_Marshal ¶
func (m *FreelancerOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreelancerOutput) XXX_Merge ¶
func (m *FreelancerOutput) XXX_Merge(src proto.Message)
func (*FreelancerOutput) XXX_Size ¶
func (m *FreelancerOutput) XXX_Size() int
func (*FreelancerOutput) XXX_Unmarshal ¶
func (m *FreelancerOutput) XXX_Unmarshal(b []byte) error
type UnimplementedFreelancerHandlerServer ¶
type UnimplementedFreelancerHandlerServer struct { }
UnimplementedFreelancerHandlerServer can be embedded to have forward compatible implementations.
func (*UnimplementedFreelancerHandlerServer) CreateFreelancer ¶
func (*UnimplementedFreelancerHandlerServer) CreateFreelancer(ctx context.Context, req *UserID) (*Freelancer, error)
func (*UnimplementedFreelancerHandlerServer) Find ¶
func (*UnimplementedFreelancerHandlerServer) Find(ctx context.Context, req *FreelancerID) (*ExtendedFreelancer, error)
func (*UnimplementedFreelancerHandlerServer) FindByUser ¶
func (*UnimplementedFreelancerHandlerServer) FindByUser(ctx context.Context, req *UserID) (*Freelancer, error)
type UserID ¶
type UserID struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserID) Descriptor ¶
func (*UserID) ProtoMessage ¶
func (*UserID) ProtoMessage()
func (*UserID) XXX_DiscardUnknown ¶
func (m *UserID) XXX_DiscardUnknown()
func (*UserID) XXX_Marshal ¶
func (*UserID) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.