pb

package
v0.0.0-...-40fc3ee Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Space) GetCreator

func (m *Space) GetCreator() string

func (*Space) GetDescription

func (m *Space) GetDescription() string

func (*Space) GetDetails

func (m *Space) GetDetails() string

func (*Space) GetFollowers

func (m *Space) GetFollowers() []string

func (*Space) GetId

func (m *Space) GetId() string

func (*Space) GetManagers

func (m *Space) GetManagers() []string

func (*Space) GetTags

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

func (*Space) GetTime

func (m *Space) GetTime() *timestamp.Timestamp

func (*Space) GetTopic

func (m *Space) GetTopic() string

func (*Space) GetType

func (m *Space) GetType() string

func (*Space) ProtoMessage

func (*Space) ProtoMessage()

func (*Space) Reset

func (m *Space) Reset()

func (*Space) String

func (m *Space) String() string

func (*Space) XXX_DiscardUnknown

func (m *Space) XXX_DiscardUnknown()

func (*Space) XXX_Marshal

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

func (*Space) XXX_Merge

func (m *Space) XXX_Merge(src proto.Message)

func (*Space) XXX_Size

func (m *Space) XXX_Size() int

func (*Space) XXX_Unmarshal

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

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

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

func (*UnimplementedSpaceServiceServer) GetSpace

func (*UnimplementedSpaceServiceServer) PostSpace

func (*UnimplementedSpaceServiceServer) PutSpace

Jump to

Keyboard shortcuts

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