Documentation ¶
Index ¶
- func RegisterProfileServiceServer(s *grpc.Server, srv ProfileServiceServer)
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetId() string
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)
- func (m *DeleteResponse) GetId() string
- func (*DeleteResponse) ProtoMessage()
- func (m *DeleteResponse) Reset()
- func (m *DeleteResponse) String() string
- func (m *DeleteResponse) XXX_DiscardUnknown()
- func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteResponse) XXX_Merge(src proto.Message)
- func (m *DeleteResponse) XXX_Size() int
- func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
- type GetMultipleRequest
- func (*GetMultipleRequest) Descriptor() ([]byte, []int)
- func (m *GetMultipleRequest) GetSkip() uint64
- func (m *GetMultipleRequest) GetTake() uint64
- func (*GetMultipleRequest) ProtoMessage()
- func (m *GetMultipleRequest) Reset()
- func (m *GetMultipleRequest) String() string
- func (m *GetMultipleRequest) XXX_DiscardUnknown()
- func (m *GetMultipleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleRequest) XXX_Merge(src proto.Message)
- func (m *GetMultipleRequest) XXX_Size() int
- func (m *GetMultipleRequest) XXX_Unmarshal(b []byte) error
- type GetMultipleResponse
- func (*GetMultipleResponse) Descriptor() ([]byte, []int)
- func (m *GetMultipleResponse) GetProfiles() []*Profile
- func (*GetMultipleResponse) ProtoMessage()
- func (m *GetMultipleResponse) Reset()
- func (m *GetMultipleResponse) String() string
- func (m *GetMultipleResponse) XXX_DiscardUnknown()
- func (m *GetMultipleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleResponse) XXX_Merge(src proto.Message)
- func (m *GetMultipleResponse) XXX_Size() int
- func (m *GetMultipleResponse) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetId() string
- func (m *GetRequest) GetUserID() uint64
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetProfile() *Profile
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetHeight() int32
- func (m *Image) GetId() string
- func (m *Image) GetName() string
- func (m *Image) GetSize() int64
- func (m *Image) GetType() string
- func (m *Image) GetWidth() int32
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) String() string
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type PostRequest
- func (*PostRequest) Descriptor() ([]byte, []int)
- func (m *PostRequest) GetAbout() string
- func (m *PostRequest) GetBackgroundImg() *Image
- func (m *PostRequest) GetDateLastUpdated() *timestamp.Timestamp
- func (m *PostRequest) GetFollowers() []string
- func (m *PostRequest) GetFollowing() []string
- func (m *PostRequest) GetLevel() string
- func (m *PostRequest) GetProfileImg() *Image
- func (m *PostRequest) GetRings() int32
- func (m *PostRequest) GetUsername() string
- func (*PostRequest) ProtoMessage()
- func (m *PostRequest) Reset()
- func (m *PostRequest) String() string
- func (m *PostRequest) XXX_DiscardUnknown()
- func (m *PostRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostRequest) XXX_Merge(src proto.Message)
- func (m *PostRequest) XXX_Size() int
- func (m *PostRequest) XXX_Unmarshal(b []byte) error
- type PostResponse
- func (*PostResponse) Descriptor() ([]byte, []int)
- func (m *PostResponse) GetProfile() string
- func (*PostResponse) ProtoMessage()
- func (m *PostResponse) Reset()
- func (m *PostResponse) String() string
- func (m *PostResponse) XXX_DiscardUnknown()
- func (m *PostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostResponse) XXX_Merge(src proto.Message)
- func (m *PostResponse) XXX_Size() int
- func (m *PostResponse) XXX_Unmarshal(b []byte) error
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetAbout() string
- func (m *Profile) GetBackgroundImg() *Image
- func (m *Profile) GetDateLastUpdated() *timestamp.Timestamp
- func (m *Profile) GetFollowers() []string
- func (m *Profile) GetFollowing() []string
- func (m *Profile) GetId() string
- func (m *Profile) GetLevel() string
- func (m *Profile) GetProfileImg() *Image
- func (m *Profile) GetRings() int32
- func (m *Profile) GetUsername() string
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) String() string
- func (m *Profile) XXX_DiscardUnknown()
- func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Profile) XXX_Merge(src proto.Message)
- func (m *Profile) XXX_Size() int
- func (m *Profile) XXX_Unmarshal(b []byte) error
- type ProfileServiceClient
- type ProfileServiceServer
- type PutRequest
- func (*PutRequest) Descriptor() ([]byte, []int)
- func (m *PutRequest) GetAbout() string
- func (m *PutRequest) GetBackgroundImg() *Image
- func (m *PutRequest) GetDateLastUpdated() *timestamp.Timestamp
- func (m *PutRequest) GetFollowers() []string
- func (m *PutRequest) GetFollowing() []string
- func (m *PutRequest) GetId() string
- func (m *PutRequest) GetLevel() string
- func (m *PutRequest) GetProfileImg() *Image
- func (m *PutRequest) GetRings() int32
- func (m *PutRequest) GetUsername() string
- func (*PutRequest) ProtoMessage()
- func (m *PutRequest) Reset()
- func (m *PutRequest) String() string
- func (m *PutRequest) XXX_DiscardUnknown()
- func (m *PutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutRequest) XXX_Merge(src proto.Message)
- func (m *PutRequest) XXX_Size() int
- func (m *PutRequest) XXX_Unmarshal(b []byte) error
- type PutResponse
- func (*PutResponse) Descriptor() ([]byte, []int)
- func (m *PutResponse) GetProfile() string
- func (*PutResponse) ProtoMessage()
- func (m *PutResponse) Reset()
- func (m *PutResponse) String() string
- func (m *PutResponse) XXX_DiscardUnknown()
- func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutResponse) XXX_Merge(src proto.Message)
- func (m *PutResponse) XXX_Size() int
- func (m *PutResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedProfileServiceServer
- func (*UnimplementedProfileServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error)
- func (*UnimplementedProfileServiceServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error)
- func (*UnimplementedProfileServiceServer) GetMultiple(ctx context.Context, req *GetMultipleRequest) (*GetMultipleResponse, error)
- func (*UnimplementedProfileServiceServer) Post(ctx context.Context, req *PostRequest) (*PostResponse, error)
- func (*UnimplementedProfileServiceServer) Put(ctx context.Context, req *PutRequest) (*PutResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProfileServiceServer ¶
func RegisterProfileServiceServer(s *grpc.Server, srv ProfileServiceServer)
Types ¶
type DeleteRequest ¶
type DeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetId ¶
func (m *DeleteRequest) GetId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
func (*DeleteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRequest) XXX_DiscardUnknown()
func (*DeleteRequest) XXX_Marshal ¶
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRequest) XXX_Merge ¶
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (*DeleteRequest) XXX_Size ¶
func (m *DeleteRequest) XXX_Size() int
func (*DeleteRequest) XXX_Unmarshal ¶
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type DeleteResponse ¶
type DeleteResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteResponse) Descriptor ¶
func (*DeleteResponse) Descriptor() ([]byte, []int)
func (*DeleteResponse) GetId ¶
func (m *DeleteResponse) GetId() string
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) Reset ¶
func (m *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (m *DeleteResponse) String() string
func (*DeleteResponse) XXX_DiscardUnknown ¶
func (m *DeleteResponse) XXX_DiscardUnknown()
func (*DeleteResponse) XXX_Marshal ¶
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteResponse) XXX_Merge ¶
func (m *DeleteResponse) XXX_Merge(src proto.Message)
func (*DeleteResponse) XXX_Size ¶
func (m *DeleteResponse) XXX_Size() int
func (*DeleteResponse) XXX_Unmarshal ¶
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
type GetMultipleRequest ¶
type GetMultipleRequest struct { Skip uint64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Take uint64 `protobuf:"varint,2,opt,name=take,proto3" json:"take,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleRequest) Descriptor ¶
func (*GetMultipleRequest) Descriptor() ([]byte, []int)
func (*GetMultipleRequest) GetSkip ¶
func (m *GetMultipleRequest) GetSkip() uint64
func (*GetMultipleRequest) GetTake ¶
func (m *GetMultipleRequest) GetTake() uint64
func (*GetMultipleRequest) ProtoMessage ¶
func (*GetMultipleRequest) ProtoMessage()
func (*GetMultipleRequest) Reset ¶
func (m *GetMultipleRequest) Reset()
func (*GetMultipleRequest) String ¶
func (m *GetMultipleRequest) String() string
func (*GetMultipleRequest) XXX_DiscardUnknown ¶
func (m *GetMultipleRequest) XXX_DiscardUnknown()
func (*GetMultipleRequest) XXX_Marshal ¶
func (m *GetMultipleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleRequest) XXX_Merge ¶
func (m *GetMultipleRequest) XXX_Merge(src proto.Message)
func (*GetMultipleRequest) XXX_Size ¶
func (m *GetMultipleRequest) XXX_Size() int
func (*GetMultipleRequest) XXX_Unmarshal ¶
func (m *GetMultipleRequest) XXX_Unmarshal(b []byte) error
type GetMultipleResponse ¶
type GetMultipleResponse struct { Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleResponse) Descriptor ¶
func (*GetMultipleResponse) Descriptor() ([]byte, []int)
func (*GetMultipleResponse) GetProfiles ¶
func (m *GetMultipleResponse) GetProfiles() []*Profile
func (*GetMultipleResponse) ProtoMessage ¶
func (*GetMultipleResponse) ProtoMessage()
func (*GetMultipleResponse) Reset ¶
func (m *GetMultipleResponse) Reset()
func (*GetMultipleResponse) String ¶
func (m *GetMultipleResponse) String() string
func (*GetMultipleResponse) XXX_DiscardUnknown ¶
func (m *GetMultipleResponse) XXX_DiscardUnknown()
func (*GetMultipleResponse) XXX_Marshal ¶
func (m *GetMultipleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleResponse) XXX_Merge ¶
func (m *GetMultipleResponse) XXX_Merge(src proto.Message)
func (*GetMultipleResponse) XXX_Size ¶
func (m *GetMultipleResponse) XXX_Size() int
func (*GetMultipleResponse) XXX_Unmarshal ¶
func (m *GetMultipleResponse) XXX_Unmarshal(b []byte) error
type GetRequest ¶
type GetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserID uint64 `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetId ¶
func (m *GetRequest) GetId() string
func (*GetRequest) GetUserID ¶
func (m *GetRequest) GetUserID() uint64
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetResponse ¶
type GetResponse struct { Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetProfile ¶
func (m *GetResponse) GetProfile() *Profile
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type Image ¶
type Image struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Width int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Image) Descriptor ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
type PostRequest ¶
type PostRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` About string `protobuf:"bytes,2,opt,name=about,proto3" json:"about,omitempty"` Level string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"` Rings int32 `protobuf:"varint,4,opt,name=rings,proto3" json:"rings,omitempty"` ProfileImg *Image `protobuf:"bytes,5,opt,name=profileImg,proto3" json:"profileImg,omitempty"` BackgroundImg *Image `protobuf:"bytes,6,opt,name=backgroundImg,proto3" json:"backgroundImg,omitempty"` DateLastUpdated *timestamp.Timestamp `protobuf:"bytes,7,opt,name=dateLastUpdated,proto3" json:"dateLastUpdated,omitempty"` Followers []string `protobuf:"bytes,8,rep,name=followers,proto3" json:"followers,omitempty"` Following []string `protobuf:"bytes,9,rep,name=following,proto3" json:"following,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostRequest) Descriptor ¶
func (*PostRequest) Descriptor() ([]byte, []int)
func (*PostRequest) GetAbout ¶
func (m *PostRequest) GetAbout() string
func (*PostRequest) GetBackgroundImg ¶
func (m *PostRequest) GetBackgroundImg() *Image
func (*PostRequest) GetDateLastUpdated ¶
func (m *PostRequest) GetDateLastUpdated() *timestamp.Timestamp
func (*PostRequest) GetFollowers ¶
func (m *PostRequest) GetFollowers() []string
func (*PostRequest) GetFollowing ¶
func (m *PostRequest) GetFollowing() []string
func (*PostRequest) GetLevel ¶
func (m *PostRequest) GetLevel() string
func (*PostRequest) GetProfileImg ¶
func (m *PostRequest) GetProfileImg() *Image
func (*PostRequest) GetRings ¶
func (m *PostRequest) GetRings() int32
func (*PostRequest) GetUsername ¶
func (m *PostRequest) GetUsername() string
func (*PostRequest) ProtoMessage ¶
func (*PostRequest) ProtoMessage()
func (*PostRequest) Reset ¶
func (m *PostRequest) Reset()
func (*PostRequest) String ¶
func (m *PostRequest) String() string
func (*PostRequest) XXX_DiscardUnknown ¶
func (m *PostRequest) XXX_DiscardUnknown()
func (*PostRequest) XXX_Marshal ¶
func (m *PostRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostRequest) XXX_Merge ¶
func (m *PostRequest) XXX_Merge(src proto.Message)
func (*PostRequest) XXX_Size ¶
func (m *PostRequest) XXX_Size() int
func (*PostRequest) XXX_Unmarshal ¶
func (m *PostRequest) XXX_Unmarshal(b []byte) error
type PostResponse ¶
type PostResponse struct { Profile string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostResponse) Descriptor ¶
func (*PostResponse) Descriptor() ([]byte, []int)
func (*PostResponse) GetProfile ¶
func (m *PostResponse) GetProfile() string
func (*PostResponse) ProtoMessage ¶
func (*PostResponse) ProtoMessage()
func (*PostResponse) Reset ¶
func (m *PostResponse) Reset()
func (*PostResponse) String ¶
func (m *PostResponse) String() string
func (*PostResponse) XXX_DiscardUnknown ¶
func (m *PostResponse) XXX_DiscardUnknown()
func (*PostResponse) XXX_Marshal ¶
func (m *PostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostResponse) XXX_Merge ¶
func (m *PostResponse) XXX_Merge(src proto.Message)
func (*PostResponse) XXX_Size ¶
func (m *PostResponse) XXX_Size() int
func (*PostResponse) XXX_Unmarshal ¶
func (m *PostResponse) XXX_Unmarshal(b []byte) error
type Profile ¶
type Profile struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` About string `protobuf:"bytes,3,opt,name=about,proto3" json:"about,omitempty"` Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"` Rings int32 `protobuf:"varint,5,opt,name=rings,proto3" json:"rings,omitempty"` ProfileImg *Image `protobuf:"bytes,6,opt,name=profileImg,proto3" json:"profileImg,omitempty"` BackgroundImg *Image `protobuf:"bytes,7,opt,name=backgroundImg,proto3" json:"backgroundImg,omitempty"` DateLastUpdated *timestamp.Timestamp `protobuf:"bytes,8,opt,name=dateLastUpdated,proto3" json:"dateLastUpdated,omitempty"` Followers []string `protobuf:"bytes,9,rep,name=followers,proto3" json:"followers,omitempty"` Following []string `protobuf:"bytes,10,rep,name=following,proto3" json:"following,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile) Descriptor ¶
func (*Profile) GetBackgroundImg ¶
func (*Profile) GetDateLastUpdated ¶
func (*Profile) GetFollowers ¶
func (*Profile) GetFollowing ¶
func (*Profile) GetProfileImg ¶
func (*Profile) GetUsername ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) XXX_DiscardUnknown ¶
func (m *Profile) XXX_DiscardUnknown()
func (*Profile) XXX_Marshal ¶
func (*Profile) XXX_Unmarshal ¶
type ProfileServiceClient ¶
type ProfileServiceClient interface { Post(ctx context.Context, in *PostRequest, opts ...grpc.CallOption) (*PostResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) GetMultiple(ctx context.Context, in *GetMultipleRequest, opts ...grpc.CallOption) (*GetMultipleResponse, error) Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) }
ProfileServiceClient is the client API for ProfileService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProfileServiceClient ¶
func NewProfileServiceClient(cc *grpc.ClientConn) ProfileServiceClient
type ProfileServiceServer ¶
type ProfileServiceServer interface { Post(context.Context, *PostRequest) (*PostResponse, error) Get(context.Context, *GetRequest) (*GetResponse, error) GetMultiple(context.Context, *GetMultipleRequest) (*GetMultipleResponse, error) Put(context.Context, *PutRequest) (*PutResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) }
ProfileServiceServer is the server API for ProfileService service.
type PutRequest ¶
type PutRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` About string `protobuf:"bytes,3,opt,name=about,proto3" json:"about,omitempty"` Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"` Rings int32 `protobuf:"varint,5,opt,name=rings,proto3" json:"rings,omitempty"` ProfileImg *Image `protobuf:"bytes,6,opt,name=profileImg,proto3" json:"profileImg,omitempty"` BackgroundImg *Image `protobuf:"bytes,7,opt,name=backgroundImg,proto3" json:"backgroundImg,omitempty"` DateLastUpdated *timestamp.Timestamp `protobuf:"bytes,8,opt,name=dateLastUpdated,proto3" json:"dateLastUpdated,omitempty"` Followers []string `protobuf:"bytes,9,rep,name=followers,proto3" json:"followers,omitempty"` Following []string `protobuf:"bytes,10,rep,name=following,proto3" json:"following,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutRequest) Descriptor ¶
func (*PutRequest) Descriptor() ([]byte, []int)
func (*PutRequest) GetAbout ¶
func (m *PutRequest) GetAbout() string
func (*PutRequest) GetBackgroundImg ¶
func (m *PutRequest) GetBackgroundImg() *Image
func (*PutRequest) GetDateLastUpdated ¶
func (m *PutRequest) GetDateLastUpdated() *timestamp.Timestamp
func (*PutRequest) GetFollowers ¶
func (m *PutRequest) GetFollowers() []string
func (*PutRequest) GetFollowing ¶
func (m *PutRequest) GetFollowing() []string
func (*PutRequest) GetId ¶
func (m *PutRequest) GetId() string
func (*PutRequest) GetLevel ¶
func (m *PutRequest) GetLevel() string
func (*PutRequest) GetProfileImg ¶
func (m *PutRequest) GetProfileImg() *Image
func (*PutRequest) GetRings ¶
func (m *PutRequest) GetRings() int32
func (*PutRequest) GetUsername ¶
func (m *PutRequest) GetUsername() string
func (*PutRequest) ProtoMessage ¶
func (*PutRequest) ProtoMessage()
func (*PutRequest) Reset ¶
func (m *PutRequest) Reset()
func (*PutRequest) String ¶
func (m *PutRequest) String() string
func (*PutRequest) XXX_DiscardUnknown ¶
func (m *PutRequest) XXX_DiscardUnknown()
func (*PutRequest) XXX_Marshal ¶
func (m *PutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutRequest) XXX_Merge ¶
func (m *PutRequest) XXX_Merge(src proto.Message)
func (*PutRequest) XXX_Size ¶
func (m *PutRequest) XXX_Size() int
func (*PutRequest) XXX_Unmarshal ¶
func (m *PutRequest) XXX_Unmarshal(b []byte) error
type PutResponse ¶
type PutResponse struct { Profile string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutResponse) Descriptor ¶
func (*PutResponse) Descriptor() ([]byte, []int)
func (*PutResponse) GetProfile ¶
func (m *PutResponse) GetProfile() string
func (*PutResponse) ProtoMessage ¶
func (*PutResponse) ProtoMessage()
func (*PutResponse) Reset ¶
func (m *PutResponse) Reset()
func (*PutResponse) String ¶
func (m *PutResponse) String() string
func (*PutResponse) XXX_DiscardUnknown ¶
func (m *PutResponse) XXX_DiscardUnknown()
func (*PutResponse) XXX_Marshal ¶
func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutResponse) XXX_Merge ¶
func (m *PutResponse) XXX_Merge(src proto.Message)
func (*PutResponse) XXX_Size ¶
func (m *PutResponse) XXX_Size() int
func (*PutResponse) XXX_Unmarshal ¶
func (m *PutResponse) XXX_Unmarshal(b []byte) error
type UnimplementedProfileServiceServer ¶
type UnimplementedProfileServiceServer struct { }
UnimplementedProfileServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProfileServiceServer) Delete ¶
func (*UnimplementedProfileServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error)
func (*UnimplementedProfileServiceServer) Get ¶
func (*UnimplementedProfileServiceServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error)
func (*UnimplementedProfileServiceServer) GetMultiple ¶
func (*UnimplementedProfileServiceServer) GetMultiple(ctx context.Context, req *GetMultipleRequest) (*GetMultipleResponse, error)
func (*UnimplementedProfileServiceServer) Post ¶
func (*UnimplementedProfileServiceServer) Post(ctx context.Context, req *PostRequest) (*PostResponse, error)
func (*UnimplementedProfileServiceServer) Put ¶
func (*UnimplementedProfileServiceServer) Put(ctx context.Context, req *PutRequest) (*PutResponse, error)
Click to show internal directories.
Click to hide internal directories.