Documentation ¶
Index ¶
- func RegisterSpaceServiceServer(s *grpc.Server, srv SpaceServiceServer)
- type DeleteSpaceRequest
- func (*DeleteSpaceRequest) Descriptor() ([]byte, []int)
- func (m *DeleteSpaceRequest) GetId() string
- func (*DeleteSpaceRequest) ProtoMessage()
- func (m *DeleteSpaceRequest) Reset()
- func (m *DeleteSpaceRequest) String() string
- func (m *DeleteSpaceRequest) XXX_DiscardUnknown()
- func (m *DeleteSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteSpaceRequest) XXX_Merge(src proto.Message)
- func (m *DeleteSpaceRequest) XXX_Size() int
- func (m *DeleteSpaceRequest) XXX_Unmarshal(b []byte) error
- type DeleteSpaceResponse
- func (*DeleteSpaceResponse) Descriptor() ([]byte, []int)
- func (m *DeleteSpaceResponse) GetId() string
- func (*DeleteSpaceResponse) ProtoMessage()
- func (m *DeleteSpaceResponse) Reset()
- func (m *DeleteSpaceResponse) String() string
- func (m *DeleteSpaceResponse) XXX_DiscardUnknown()
- func (m *DeleteSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteSpaceResponse) XXX_Merge(src proto.Message)
- func (m *DeleteSpaceResponse) XXX_Size() int
- func (m *DeleteSpaceResponse) XXX_Unmarshal(b []byte) error
- type GetMultipleSpacesRequest
- func (*GetMultipleSpacesRequest) Descriptor() ([]byte, []int)
- func (m *GetMultipleSpacesRequest) GetSkip() uint64
- func (m *GetMultipleSpacesRequest) GetTake() uint64
- func (*GetMultipleSpacesRequest) ProtoMessage()
- func (m *GetMultipleSpacesRequest) Reset()
- func (m *GetMultipleSpacesRequest) String() string
- func (m *GetMultipleSpacesRequest) XXX_DiscardUnknown()
- func (m *GetMultipleSpacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleSpacesRequest) XXX_Merge(src proto.Message)
- func (m *GetMultipleSpacesRequest) XXX_Size() int
- func (m *GetMultipleSpacesRequest) XXX_Unmarshal(b []byte) error
- type GetMultipleSpacesResponse
- func (*GetMultipleSpacesResponse) Descriptor() ([]byte, []int)
- func (m *GetMultipleSpacesResponse) GetSpaces() []*Space
- func (*GetMultipleSpacesResponse) ProtoMessage()
- func (m *GetMultipleSpacesResponse) Reset()
- func (m *GetMultipleSpacesResponse) String() string
- func (m *GetMultipleSpacesResponse) XXX_DiscardUnknown()
- func (m *GetMultipleSpacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMultipleSpacesResponse) XXX_Merge(src proto.Message)
- func (m *GetMultipleSpacesResponse) XXX_Size() int
- func (m *GetMultipleSpacesResponse) XXX_Unmarshal(b []byte) error
- type GetSpaceRequest
- func (*GetSpaceRequest) Descriptor() ([]byte, []int)
- func (m *GetSpaceRequest) GetId() string
- func (m *GetSpaceRequest) GetUserID() uint64
- func (*GetSpaceRequest) ProtoMessage()
- func (m *GetSpaceRequest) Reset()
- func (m *GetSpaceRequest) String() string
- func (m *GetSpaceRequest) XXX_DiscardUnknown()
- func (m *GetSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSpaceRequest) XXX_Merge(src proto.Message)
- func (m *GetSpaceRequest) XXX_Size() int
- func (m *GetSpaceRequest) XXX_Unmarshal(b []byte) error
- type GetSpaceResponse
- func (*GetSpaceResponse) Descriptor() ([]byte, []int)
- func (m *GetSpaceResponse) GetSpace() *Space
- func (*GetSpaceResponse) ProtoMessage()
- func (m *GetSpaceResponse) Reset()
- func (m *GetSpaceResponse) String() string
- func (m *GetSpaceResponse) XXX_DiscardUnknown()
- func (m *GetSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSpaceResponse) XXX_Merge(src proto.Message)
- func (m *GetSpaceResponse) XXX_Size() int
- func (m *GetSpaceResponse) XXX_Unmarshal(b []byte) error
- type PostSpaceRequest
- func (*PostSpaceRequest) Descriptor() ([]byte, []int)
- func (m *PostSpaceRequest) GetCreator() string
- func (m *PostSpaceRequest) GetDescription() string
- func (m *PostSpaceRequest) GetDetails() string
- func (m *PostSpaceRequest) GetFollowers() []string
- func (m *PostSpaceRequest) GetManagers() []string
- func (m *PostSpaceRequest) GetTags() []string
- func (m *PostSpaceRequest) GetTime() *timestamp.Timestamp
- func (m *PostSpaceRequest) GetTopic() string
- func (m *PostSpaceRequest) GetType() string
- func (*PostSpaceRequest) ProtoMessage()
- func (m *PostSpaceRequest) Reset()
- func (m *PostSpaceRequest) String() string
- func (m *PostSpaceRequest) XXX_DiscardUnknown()
- func (m *PostSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostSpaceRequest) XXX_Merge(src proto.Message)
- func (m *PostSpaceRequest) XXX_Size() int
- func (m *PostSpaceRequest) XXX_Unmarshal(b []byte) error
- type PostSpaceResponse
- func (*PostSpaceResponse) Descriptor() ([]byte, []int)
- func (m *PostSpaceResponse) GetSpace() string
- func (*PostSpaceResponse) ProtoMessage()
- func (m *PostSpaceResponse) Reset()
- func (m *PostSpaceResponse) String() string
- func (m *PostSpaceResponse) XXX_DiscardUnknown()
- func (m *PostSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostSpaceResponse) XXX_Merge(src proto.Message)
- func (m *PostSpaceResponse) XXX_Size() int
- func (m *PostSpaceResponse) XXX_Unmarshal(b []byte) error
- type PutSpaceRequest
- func (*PutSpaceRequest) Descriptor() ([]byte, []int)
- func (m *PutSpaceRequest) GetCreator() string
- func (m *PutSpaceRequest) GetDescription() string
- func (m *PutSpaceRequest) GetDetails() string
- func (m *PutSpaceRequest) GetFollowers() []string
- func (m *PutSpaceRequest) GetId() string
- func (m *PutSpaceRequest) GetManagers() []string
- func (m *PutSpaceRequest) GetTags() []string
- func (m *PutSpaceRequest) GetTopic() string
- func (m *PutSpaceRequest) GetType() string
- func (*PutSpaceRequest) ProtoMessage()
- func (m *PutSpaceRequest) Reset()
- func (m *PutSpaceRequest) String() string
- func (m *PutSpaceRequest) XXX_DiscardUnknown()
- func (m *PutSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutSpaceRequest) XXX_Merge(src proto.Message)
- func (m *PutSpaceRequest) XXX_Size() int
- func (m *PutSpaceRequest) XXX_Unmarshal(b []byte) error
- type PutSpaceResponse
- func (*PutSpaceResponse) Descriptor() ([]byte, []int)
- func (m *PutSpaceResponse) GetSpace() string
- func (*PutSpaceResponse) ProtoMessage()
- func (m *PutSpaceResponse) Reset()
- func (m *PutSpaceResponse) String() string
- func (m *PutSpaceResponse) XXX_DiscardUnknown()
- func (m *PutSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutSpaceResponse) XXX_Merge(src proto.Message)
- func (m *PutSpaceResponse) XXX_Size() int
- func (m *PutSpaceResponse) XXX_Unmarshal(b []byte) error
- type Space
- func (*Space) Descriptor() ([]byte, []int)
- func (m *Space) GetCreator() string
- func (m *Space) GetDescription() string
- func (m *Space) GetDetails() string
- func (m *Space) GetFollowers() []string
- func (m *Space) GetId() string
- func (m *Space) GetManagers() []string
- func (m *Space) GetTags() []string
- func (m *Space) GetTime() *timestamp.Timestamp
- func (m *Space) GetTopic() string
- func (m *Space) GetType() string
- func (*Space) ProtoMessage()
- func (m *Space) Reset()
- func (m *Space) String() string
- func (m *Space) XXX_DiscardUnknown()
- func (m *Space) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Space) XXX_Merge(src proto.Message)
- func (m *Space) XXX_Size() int
- func (m *Space) XXX_Unmarshal(b []byte) error
- type SpaceServiceClient
- type SpaceServiceServer
- type UnimplementedSpaceServiceServer
- func (*UnimplementedSpaceServiceServer) DeleteSpace(ctx context.Context, req *DeleteSpaceRequest) (*DeleteSpaceResponse, error)
- func (*UnimplementedSpaceServiceServer) GetMultipleSpaces(ctx context.Context, req *GetMultipleSpacesRequest) (*GetMultipleSpacesResponse, error)
- func (*UnimplementedSpaceServiceServer) GetSpace(ctx context.Context, req *GetSpaceRequest) (*GetSpaceResponse, error)
- func (*UnimplementedSpaceServiceServer) PostSpace(ctx context.Context, req *PostSpaceRequest) (*PostSpaceResponse, error)
- func (*UnimplementedSpaceServiceServer) PutSpace(ctx context.Context, req *PutSpaceRequest) (*PutSpaceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSpaceServiceServer ¶
func RegisterSpaceServiceServer(s *grpc.Server, srv SpaceServiceServer)
Types ¶
type DeleteSpaceRequest ¶
type DeleteSpaceRequest 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 (*DeleteSpaceRequest) Descriptor ¶
func (*DeleteSpaceRequest) Descriptor() ([]byte, []int)
func (*DeleteSpaceRequest) GetId ¶
func (m *DeleteSpaceRequest) GetId() string
func (*DeleteSpaceRequest) ProtoMessage ¶
func (*DeleteSpaceRequest) ProtoMessage()
func (*DeleteSpaceRequest) Reset ¶
func (m *DeleteSpaceRequest) Reset()
func (*DeleteSpaceRequest) String ¶
func (m *DeleteSpaceRequest) String() string
func (*DeleteSpaceRequest) XXX_DiscardUnknown ¶
func (m *DeleteSpaceRequest) XXX_DiscardUnknown()
func (*DeleteSpaceRequest) XXX_Marshal ¶
func (m *DeleteSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteSpaceRequest) XXX_Merge ¶
func (m *DeleteSpaceRequest) XXX_Merge(src proto.Message)
func (*DeleteSpaceRequest) XXX_Size ¶
func (m *DeleteSpaceRequest) XXX_Size() int
func (*DeleteSpaceRequest) XXX_Unmarshal ¶
func (m *DeleteSpaceRequest) XXX_Unmarshal(b []byte) error
type DeleteSpaceResponse ¶
type DeleteSpaceResponse 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 (*DeleteSpaceResponse) Descriptor ¶
func (*DeleteSpaceResponse) Descriptor() ([]byte, []int)
func (*DeleteSpaceResponse) GetId ¶
func (m *DeleteSpaceResponse) GetId() string
func (*DeleteSpaceResponse) ProtoMessage ¶
func (*DeleteSpaceResponse) ProtoMessage()
func (*DeleteSpaceResponse) Reset ¶
func (m *DeleteSpaceResponse) Reset()
func (*DeleteSpaceResponse) String ¶
func (m *DeleteSpaceResponse) String() string
func (*DeleteSpaceResponse) XXX_DiscardUnknown ¶
func (m *DeleteSpaceResponse) XXX_DiscardUnknown()
func (*DeleteSpaceResponse) XXX_Marshal ¶
func (m *DeleteSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteSpaceResponse) XXX_Merge ¶
func (m *DeleteSpaceResponse) XXX_Merge(src proto.Message)
func (*DeleteSpaceResponse) XXX_Size ¶
func (m *DeleteSpaceResponse) XXX_Size() int
func (*DeleteSpaceResponse) XXX_Unmarshal ¶
func (m *DeleteSpaceResponse) XXX_Unmarshal(b []byte) error
type GetMultipleSpacesRequest ¶
type GetMultipleSpacesRequest 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 (*GetMultipleSpacesRequest) Descriptor ¶
func (*GetMultipleSpacesRequest) Descriptor() ([]byte, []int)
func (*GetMultipleSpacesRequest) GetSkip ¶
func (m *GetMultipleSpacesRequest) GetSkip() uint64
func (*GetMultipleSpacesRequest) GetTake ¶
func (m *GetMultipleSpacesRequest) GetTake() uint64
func (*GetMultipleSpacesRequest) ProtoMessage ¶
func (*GetMultipleSpacesRequest) ProtoMessage()
func (*GetMultipleSpacesRequest) Reset ¶
func (m *GetMultipleSpacesRequest) Reset()
func (*GetMultipleSpacesRequest) String ¶
func (m *GetMultipleSpacesRequest) String() string
func (*GetMultipleSpacesRequest) XXX_DiscardUnknown ¶
func (m *GetMultipleSpacesRequest) XXX_DiscardUnknown()
func (*GetMultipleSpacesRequest) XXX_Marshal ¶
func (m *GetMultipleSpacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleSpacesRequest) XXX_Merge ¶
func (m *GetMultipleSpacesRequest) XXX_Merge(src proto.Message)
func (*GetMultipleSpacesRequest) XXX_Size ¶
func (m *GetMultipleSpacesRequest) XXX_Size() int
func (*GetMultipleSpacesRequest) XXX_Unmarshal ¶
func (m *GetMultipleSpacesRequest) XXX_Unmarshal(b []byte) error
type GetMultipleSpacesResponse ¶
type GetMultipleSpacesResponse struct { Spaces []*Space `protobuf:"bytes,1,rep,name=spaces,proto3" json:"spaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMultipleSpacesResponse) Descriptor ¶
func (*GetMultipleSpacesResponse) Descriptor() ([]byte, []int)
func (*GetMultipleSpacesResponse) GetSpaces ¶
func (m *GetMultipleSpacesResponse) GetSpaces() []*Space
func (*GetMultipleSpacesResponse) ProtoMessage ¶
func (*GetMultipleSpacesResponse) ProtoMessage()
func (*GetMultipleSpacesResponse) Reset ¶
func (m *GetMultipleSpacesResponse) Reset()
func (*GetMultipleSpacesResponse) String ¶
func (m *GetMultipleSpacesResponse) String() string
func (*GetMultipleSpacesResponse) XXX_DiscardUnknown ¶
func (m *GetMultipleSpacesResponse) XXX_DiscardUnknown()
func (*GetMultipleSpacesResponse) XXX_Marshal ¶
func (m *GetMultipleSpacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMultipleSpacesResponse) XXX_Merge ¶
func (m *GetMultipleSpacesResponse) XXX_Merge(src proto.Message)
func (*GetMultipleSpacesResponse) XXX_Size ¶
func (m *GetMultipleSpacesResponse) XXX_Size() int
func (*GetMultipleSpacesResponse) XXX_Unmarshal ¶
func (m *GetMultipleSpacesResponse) XXX_Unmarshal(b []byte) error
type GetSpaceRequest ¶
type GetSpaceRequest 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 (*GetSpaceRequest) Descriptor ¶
func (*GetSpaceRequest) Descriptor() ([]byte, []int)
func (*GetSpaceRequest) GetId ¶
func (m *GetSpaceRequest) GetId() string
func (*GetSpaceRequest) GetUserID ¶
func (m *GetSpaceRequest) GetUserID() uint64
func (*GetSpaceRequest) ProtoMessage ¶
func (*GetSpaceRequest) ProtoMessage()
func (*GetSpaceRequest) Reset ¶
func (m *GetSpaceRequest) Reset()
func (*GetSpaceRequest) String ¶
func (m *GetSpaceRequest) String() string
func (*GetSpaceRequest) XXX_DiscardUnknown ¶
func (m *GetSpaceRequest) XXX_DiscardUnknown()
func (*GetSpaceRequest) XXX_Marshal ¶
func (m *GetSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSpaceRequest) XXX_Merge ¶
func (m *GetSpaceRequest) XXX_Merge(src proto.Message)
func (*GetSpaceRequest) XXX_Size ¶
func (m *GetSpaceRequest) XXX_Size() int
func (*GetSpaceRequest) XXX_Unmarshal ¶
func (m *GetSpaceRequest) XXX_Unmarshal(b []byte) error
type GetSpaceResponse ¶
type GetSpaceResponse struct { Space *Space `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSpaceResponse) Descriptor ¶
func (*GetSpaceResponse) Descriptor() ([]byte, []int)
func (*GetSpaceResponse) GetSpace ¶
func (m *GetSpaceResponse) GetSpace() *Space
func (*GetSpaceResponse) ProtoMessage ¶
func (*GetSpaceResponse) ProtoMessage()
func (*GetSpaceResponse) Reset ¶
func (m *GetSpaceResponse) Reset()
func (*GetSpaceResponse) String ¶
func (m *GetSpaceResponse) String() string
func (*GetSpaceResponse) XXX_DiscardUnknown ¶
func (m *GetSpaceResponse) XXX_DiscardUnknown()
func (*GetSpaceResponse) XXX_Marshal ¶
func (m *GetSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSpaceResponse) XXX_Merge ¶
func (m *GetSpaceResponse) XXX_Merge(src proto.Message)
func (*GetSpaceResponse) XXX_Size ¶
func (m *GetSpaceResponse) XXX_Size() int
func (*GetSpaceResponse) XXX_Unmarshal ¶
func (m *GetSpaceResponse) XXX_Unmarshal(b []byte) error
type PostSpaceRequest ¶
type PostSpaceRequest struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Managers []string `protobuf:"bytes,2,rep,name=managers,proto3" json:"managers,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` Followers []string `protobuf:"bytes,8,rep,name=followers,proto3" json:"followers,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,9,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostSpaceRequest) Descriptor ¶
func (*PostSpaceRequest) Descriptor() ([]byte, []int)
func (*PostSpaceRequest) GetCreator ¶
func (m *PostSpaceRequest) GetCreator() string
func (*PostSpaceRequest) GetDescription ¶
func (m *PostSpaceRequest) GetDescription() string
func (*PostSpaceRequest) GetDetails ¶
func (m *PostSpaceRequest) GetDetails() string
func (*PostSpaceRequest) GetFollowers ¶
func (m *PostSpaceRequest) GetFollowers() []string
func (*PostSpaceRequest) GetManagers ¶
func (m *PostSpaceRequest) GetManagers() []string
func (*PostSpaceRequest) GetTags ¶
func (m *PostSpaceRequest) GetTags() []string
func (*PostSpaceRequest) GetTime ¶
func (m *PostSpaceRequest) GetTime() *timestamp.Timestamp
func (*PostSpaceRequest) GetTopic ¶
func (m *PostSpaceRequest) GetTopic() string
func (*PostSpaceRequest) GetType ¶
func (m *PostSpaceRequest) GetType() string
func (*PostSpaceRequest) ProtoMessage ¶
func (*PostSpaceRequest) ProtoMessage()
func (*PostSpaceRequest) Reset ¶
func (m *PostSpaceRequest) Reset()
func (*PostSpaceRequest) String ¶
func (m *PostSpaceRequest) String() string
func (*PostSpaceRequest) XXX_DiscardUnknown ¶
func (m *PostSpaceRequest) XXX_DiscardUnknown()
func (*PostSpaceRequest) XXX_Marshal ¶
func (m *PostSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostSpaceRequest) XXX_Merge ¶
func (m *PostSpaceRequest) XXX_Merge(src proto.Message)
func (*PostSpaceRequest) XXX_Size ¶
func (m *PostSpaceRequest) XXX_Size() int
func (*PostSpaceRequest) XXX_Unmarshal ¶
func (m *PostSpaceRequest) XXX_Unmarshal(b []byte) error
type PostSpaceResponse ¶
type PostSpaceResponse struct { Space string `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostSpaceResponse) Descriptor ¶
func (*PostSpaceResponse) Descriptor() ([]byte, []int)
func (*PostSpaceResponse) GetSpace ¶
func (m *PostSpaceResponse) GetSpace() string
func (*PostSpaceResponse) ProtoMessage ¶
func (*PostSpaceResponse) ProtoMessage()
func (*PostSpaceResponse) Reset ¶
func (m *PostSpaceResponse) Reset()
func (*PostSpaceResponse) String ¶
func (m *PostSpaceResponse) String() string
func (*PostSpaceResponse) XXX_DiscardUnknown ¶
func (m *PostSpaceResponse) XXX_DiscardUnknown()
func (*PostSpaceResponse) XXX_Marshal ¶
func (m *PostSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostSpaceResponse) XXX_Merge ¶
func (m *PostSpaceResponse) XXX_Merge(src proto.Message)
func (*PostSpaceResponse) XXX_Size ¶
func (m *PostSpaceResponse) XXX_Size() int
func (*PostSpaceResponse) XXX_Unmarshal ¶
func (m *PostSpaceResponse) XXX_Unmarshal(b []byte) error
type PutSpaceRequest ¶
type PutSpaceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Managers []string `protobuf:"bytes,3,rep,name=managers,proto3" json:"managers,omitempty"` Topic string `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"` Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` Followers []string `protobuf:"bytes,9,rep,name=followers,proto3" json:"followers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutSpaceRequest) Descriptor ¶
func (*PutSpaceRequest) Descriptor() ([]byte, []int)
func (*PutSpaceRequest) GetCreator ¶
func (m *PutSpaceRequest) GetCreator() string
func (*PutSpaceRequest) GetDescription ¶
func (m *PutSpaceRequest) GetDescription() string
func (*PutSpaceRequest) GetDetails ¶
func (m *PutSpaceRequest) GetDetails() string
func (*PutSpaceRequest) GetFollowers ¶
func (m *PutSpaceRequest) GetFollowers() []string
func (*PutSpaceRequest) GetId ¶
func (m *PutSpaceRequest) GetId() string
func (*PutSpaceRequest) GetManagers ¶
func (m *PutSpaceRequest) GetManagers() []string
func (*PutSpaceRequest) GetTags ¶
func (m *PutSpaceRequest) GetTags() []string
func (*PutSpaceRequest) GetTopic ¶
func (m *PutSpaceRequest) GetTopic() string
func (*PutSpaceRequest) GetType ¶
func (m *PutSpaceRequest) GetType() string
func (*PutSpaceRequest) ProtoMessage ¶
func (*PutSpaceRequest) ProtoMessage()
func (*PutSpaceRequest) Reset ¶
func (m *PutSpaceRequest) Reset()
func (*PutSpaceRequest) String ¶
func (m *PutSpaceRequest) String() string
func (*PutSpaceRequest) XXX_DiscardUnknown ¶
func (m *PutSpaceRequest) XXX_DiscardUnknown()
func (*PutSpaceRequest) XXX_Marshal ¶
func (m *PutSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutSpaceRequest) XXX_Merge ¶
func (m *PutSpaceRequest) XXX_Merge(src proto.Message)
func (*PutSpaceRequest) XXX_Size ¶
func (m *PutSpaceRequest) XXX_Size() int
func (*PutSpaceRequest) XXX_Unmarshal ¶
func (m *PutSpaceRequest) XXX_Unmarshal(b []byte) error
type PutSpaceResponse ¶
type PutSpaceResponse struct { Space string `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutSpaceResponse) Descriptor ¶
func (*PutSpaceResponse) Descriptor() ([]byte, []int)
func (*PutSpaceResponse) GetSpace ¶
func (m *PutSpaceResponse) GetSpace() string
func (*PutSpaceResponse) ProtoMessage ¶
func (*PutSpaceResponse) ProtoMessage()
func (*PutSpaceResponse) Reset ¶
func (m *PutSpaceResponse) Reset()
func (*PutSpaceResponse) String ¶
func (m *PutSpaceResponse) String() string
func (*PutSpaceResponse) XXX_DiscardUnknown ¶
func (m *PutSpaceResponse) XXX_DiscardUnknown()
func (*PutSpaceResponse) XXX_Marshal ¶
func (m *PutSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutSpaceResponse) XXX_Merge ¶
func (m *PutSpaceResponse) XXX_Merge(src proto.Message)
func (*PutSpaceResponse) XXX_Size ¶
func (m *PutSpaceResponse) XXX_Size() int
func (*PutSpaceResponse) XXX_Unmarshal ¶
func (m *PutSpaceResponse) XXX_Unmarshal(b []byte) error
type Space ¶
type Space struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Managers []string `protobuf:"bytes,3,rep,name=managers,proto3" json:"managers,omitempty"` Topic string `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"` Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` Followers []string `protobuf:"bytes,9,rep,name=followers,proto3" json:"followers,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,10,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Space) Descriptor ¶
func (*Space) GetCreator ¶
func (*Space) GetDescription ¶
func (*Space) GetDetails ¶
func (*Space) GetFollowers ¶
func (*Space) GetManagers ¶
func (*Space) ProtoMessage ¶
func (*Space) ProtoMessage()
func (*Space) XXX_DiscardUnknown ¶
func (m *Space) XXX_DiscardUnknown()
func (*Space) XXX_Marshal ¶
func (*Space) XXX_Unmarshal ¶
type SpaceServiceClient ¶
type SpaceServiceClient interface { PostSpace(ctx context.Context, in *PostSpaceRequest, opts ...grpc.CallOption) (*PostSpaceResponse, error) GetSpace(ctx context.Context, in *GetSpaceRequest, opts ...grpc.CallOption) (*GetSpaceResponse, error) GetMultipleSpaces(ctx context.Context, in *GetMultipleSpacesRequest, opts ...grpc.CallOption) (*GetMultipleSpacesResponse, error) PutSpace(ctx context.Context, in *PutSpaceRequest, opts ...grpc.CallOption) (*PutSpaceResponse, error) DeleteSpace(ctx context.Context, in *DeleteSpaceRequest, opts ...grpc.CallOption) (*DeleteSpaceResponse, error) }
SpaceServiceClient is the client API for SpaceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSpaceServiceClient ¶
func NewSpaceServiceClient(cc *grpc.ClientConn) SpaceServiceClient
type SpaceServiceServer ¶
type SpaceServiceServer interface { PostSpace(context.Context, *PostSpaceRequest) (*PostSpaceResponse, error) GetSpace(context.Context, *GetSpaceRequest) (*GetSpaceResponse, error) GetMultipleSpaces(context.Context, *GetMultipleSpacesRequest) (*GetMultipleSpacesResponse, error) PutSpace(context.Context, *PutSpaceRequest) (*PutSpaceResponse, error) DeleteSpace(context.Context, *DeleteSpaceRequest) (*DeleteSpaceResponse, error) }
SpaceServiceServer is the server API for SpaceService service.
type UnimplementedSpaceServiceServer ¶
type UnimplementedSpaceServiceServer struct { }
UnimplementedSpaceServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSpaceServiceServer) DeleteSpace ¶
func (*UnimplementedSpaceServiceServer) DeleteSpace(ctx context.Context, req *DeleteSpaceRequest) (*DeleteSpaceResponse, error)
func (*UnimplementedSpaceServiceServer) GetMultipleSpaces ¶
func (*UnimplementedSpaceServiceServer) GetMultipleSpaces(ctx context.Context, req *GetMultipleSpacesRequest) (*GetMultipleSpacesResponse, error)
func (*UnimplementedSpaceServiceServer) GetSpace ¶
func (*UnimplementedSpaceServiceServer) GetSpace(ctx context.Context, req *GetSpaceRequest) (*GetSpaceResponse, error)
func (*UnimplementedSpaceServiceServer) PostSpace ¶
func (*UnimplementedSpaceServiceServer) PostSpace(ctx context.Context, req *PostSpaceRequest) (*PostSpaceResponse, error)
func (*UnimplementedSpaceServiceServer) PutSpace ¶
func (*UnimplementedSpaceServiceServer) PutSpace(ctx context.Context, req *PutSpaceRequest) (*PutSpaceResponse, error)
Click to show internal directories.
Click to hide internal directories.