Documentation
¶
Index ¶
- Variables
- func RegisterChangelogServiceServer(s *grpc.Server, srv ChangelogServiceServer)
- func RegisterPluginsServiceServer(s *grpc.Server, srv PluginsServiceServer)
- func RegisterReadmeServiceServer(s *grpc.Server, srv ReadmeServiceServer)
- func RegisterSessionServiceServer(s *grpc.Server, srv SessionServiceServer)
- func RegisterUsersServiceServer(s *grpc.Server, srv UsersServiceServer)
- type Category
- type Changelog
- func (*Changelog) Descriptor() ([]byte, []int)
- func (m *Changelog) GetAdded() []string
- func (m *Changelog) GetId() string
- func (m *Changelog) GetPluginId() string
- func (m *Changelog) GetRemoved() []string
- func (m *Changelog) GetUpdated() []string
- func (m *Changelog) GetVersion() string
- func (m *Changelog) Marshal() (dAtA []byte, err error)
- func (m *Changelog) MarshalTo(dAtA []byte) (int, error)
- func (m *Changelog) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Changelog) ProtoMessage()
- func (m *Changelog) Reset()
- func (m *Changelog) Size() (n int)
- func (m *Changelog) String() string
- func (m *Changelog) Unmarshal(dAtA []byte) error
- func (m *Changelog) XXX_DiscardUnknown()
- func (m *Changelog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Changelog) XXX_Merge(src proto.Message)
- func (m *Changelog) XXX_Size() int
- func (m *Changelog) XXX_Unmarshal(b []byte) error
- type ChangelogServiceClient
- type ChangelogServiceServer
- type Changelogs
- func (*Changelogs) Descriptor() ([]byte, []int)
- func (m *Changelogs) GetChangelogs() []*Changelog
- func (m *Changelogs) Marshal() (dAtA []byte, err error)
- func (m *Changelogs) MarshalTo(dAtA []byte) (int, error)
- func (m *Changelogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Changelogs) ProtoMessage()
- func (m *Changelogs) Reset()
- func (m *Changelogs) Size() (n int)
- func (m *Changelogs) String() string
- func (m *Changelogs) Unmarshal(dAtA []byte) error
- func (m *Changelogs) XXX_DiscardUnknown()
- func (m *Changelogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Changelogs) XXX_Merge(src proto.Message)
- func (m *Changelogs) XXX_Size() int
- func (m *Changelogs) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (m *Empty) Marshal() (dAtA []byte, err error)
- func (m *Empty) MarshalTo(dAtA []byte) (int, error)
- func (m *Empty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) Size() (n int)
- func (m *Empty) String() string
- func (m *Empty) Unmarshal(dAtA []byte) error
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type PaginatePluginsRequest
- func (*PaginatePluginsRequest) Descriptor() ([]byte, []int)
- func (m *PaginatePluginsRequest) GetCategory() Category
- func (m *PaginatePluginsRequest) GetCount() int32
- func (m *PaginatePluginsRequest) GetPage() int32
- func (m *PaginatePluginsRequest) GetSearch() string
- func (m *PaginatePluginsRequest) GetSort() Sort
- func (m *PaginatePluginsRequest) Marshal() (dAtA []byte, err error)
- func (m *PaginatePluginsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PaginatePluginsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PaginatePluginsRequest) ProtoMessage()
- func (m *PaginatePluginsRequest) Reset()
- func (m *PaginatePluginsRequest) Size() (n int)
- func (m *PaginatePluginsRequest) String() string
- func (m *PaginatePluginsRequest) Unmarshal(dAtA []byte) error
- func (m *PaginatePluginsRequest) XXX_DiscardUnknown()
- func (m *PaginatePluginsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginatePluginsRequest) XXX_Merge(src proto.Message)
- func (m *PaginatePluginsRequest) XXX_Size() int
- func (m *PaginatePluginsRequest) XXX_Unmarshal(b []byte) error
- type PaginatePluginsResponse
- func (*PaginatePluginsResponse) Descriptor() ([]byte, []int)
- func (m *PaginatePluginsResponse) GetPlugins() []*Plugin
- func (m *PaginatePluginsResponse) Marshal() (dAtA []byte, err error)
- func (m *PaginatePluginsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PaginatePluginsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PaginatePluginsResponse) ProtoMessage()
- func (m *PaginatePluginsResponse) Reset()
- func (m *PaginatePluginsResponse) Size() (n int)
- func (m *PaginatePluginsResponse) String() string
- func (m *PaginatePluginsResponse) Unmarshal(dAtA []byte) error
- func (m *PaginatePluginsResponse) XXX_DiscardUnknown()
- func (m *PaginatePluginsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginatePluginsResponse) XXX_Merge(src proto.Message)
- func (m *PaginatePluginsResponse) XXX_Size() int
- func (m *PaginatePluginsResponse) XXX_Unmarshal(b []byte) error
- type Plugin
- func (*Plugin) Descriptor() ([]byte, []int)
- func (m *Plugin) GetAuthor() *User
- func (m *Plugin) GetCategory() Category
- func (m *Plugin) GetDescription() string
- func (m *Plugin) GetId() string
- func (m *Plugin) GetLastUpdated() int64
- func (m *Plugin) GetMetadata() *PluginMetadata
- func (m *Plugin) GetName() string
- func (m *Plugin) GetPremium() *Premium
- func (m *Plugin) GetThumbnail() string
- func (m *Plugin) GetVersion() string
- func (m *Plugin) Marshal() (dAtA []byte, err error)
- func (m *Plugin) MarshalTo(dAtA []byte) (int, error)
- func (m *Plugin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Plugin) ProtoMessage()
- func (m *Plugin) Reset()
- func (m *Plugin) Size() (n int)
- func (m *Plugin) String() string
- func (m *Plugin) Unmarshal(dAtA []byte) error
- func (m *Plugin) XXX_DiscardUnknown()
- func (m *Plugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Plugin) XXX_Merge(src proto.Message)
- func (m *Plugin) XXX_Size() int
- func (m *Plugin) XXX_Unmarshal(b []byte) error
- type PluginMetadata
- func (*PluginMetadata) Descriptor() ([]byte, []int)
- func (m *PluginMetadata) GetConflicts() []string
- func (m *PluginMetadata) GetDownloads() int64
- func (m *PluginMetadata) Marshal() (dAtA []byte, err error)
- func (m *PluginMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *PluginMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PluginMetadata) ProtoMessage()
- func (m *PluginMetadata) Reset()
- func (m *PluginMetadata) Size() (n int)
- func (m *PluginMetadata) String() string
- func (m *PluginMetadata) Unmarshal(dAtA []byte) error
- func (m *PluginMetadata) XXX_DiscardUnknown()
- func (m *PluginMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PluginMetadata) XXX_Merge(src proto.Message)
- func (m *PluginMetadata) XXX_Size() int
- func (m *PluginMetadata) XXX_Unmarshal(b []byte) error
- type PluginsServiceClient
- type PluginsServiceServer
- type Premium
- func (*Premium) Descriptor() ([]byte, []int)
- func (m *Premium) GetPrice() int32
- func (m *Premium) GetPurchases() int32
- func (m *Premium) Marshal() (dAtA []byte, err error)
- func (m *Premium) MarshalTo(dAtA []byte) (int, error)
- func (m *Premium) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Premium) ProtoMessage()
- func (m *Premium) Reset()
- func (m *Premium) Size() (n int)
- func (m *Premium) String() string
- func (m *Premium) Unmarshal(dAtA []byte) error
- func (m *Premium) XXX_DiscardUnknown()
- func (m *Premium) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Premium) XXX_Merge(src proto.Message)
- func (m *Premium) XXX_Size() int
- func (m *Premium) XXX_Unmarshal(b []byte) error
- type Purchase
- func (*Purchase) Descriptor() ([]byte, []int)
- func (m *Purchase) GetComplete() bool
- func (m *Purchase) GetObjectId() string
- func (m *Purchase) GetSession() string
- func (m *Purchase) Marshal() (dAtA []byte, err error)
- func (m *Purchase) MarshalTo(dAtA []byte) (int, error)
- func (m *Purchase) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Purchase) ProtoMessage()
- func (m *Purchase) Reset()
- func (m *Purchase) Size() (n int)
- func (m *Purchase) String() string
- func (m *Purchase) Unmarshal(dAtA []byte) error
- func (m *Purchase) XXX_DiscardUnknown()
- func (m *Purchase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Purchase) XXX_Merge(src proto.Message)
- func (m *Purchase) XXX_Size() int
- func (m *Purchase) XXX_Unmarshal(b []byte) error
- type Readme
- func (*Readme) Descriptor() ([]byte, []int)
- func (m *Readme) GetId() string
- func (m *Readme) GetPlugin() *Plugin
- func (m *Readme) GetText() string
- func (m *Readme) Marshal() (dAtA []byte, err error)
- func (m *Readme) MarshalTo(dAtA []byte) (int, error)
- func (m *Readme) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Readme) ProtoMessage()
- func (m *Readme) Reset()
- func (m *Readme) Size() (n int)
- func (m *Readme) String() string
- func (m *Readme) Unmarshal(dAtA []byte) error
- func (m *Readme) XXX_DiscardUnknown()
- func (m *Readme) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Readme) XXX_Merge(src proto.Message)
- func (m *Readme) XXX_Size() int
- func (m *Readme) XXX_Unmarshal(b []byte) error
- type ReadmeServiceClient
- type ReadmeServiceServer
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (m *Session) GetId() string
- func (m *Session) GetLastRetrieved() int64
- func (m *Session) GetUserId() string
- func (m *Session) Marshal() (dAtA []byte, err error)
- func (m *Session) MarshalTo(dAtA []byte) (int, error)
- func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Session) ProtoMessage()
- func (m *Session) Reset()
- func (m *Session) Size() (n int)
- func (m *Session) String() string
- func (m *Session) Unmarshal(dAtA []byte) error
- func (m *Session) XXX_DiscardUnknown()
- func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Session) XXX_Merge(src proto.Message)
- func (m *Session) XXX_Size() int
- func (m *Session) XXX_Unmarshal(b []byte) error
- type SessionInsertResponse
- func (*SessionInsertResponse) Descriptor() ([]byte, []int)
- func (m *SessionInsertResponse) GetId() string
- func (m *SessionInsertResponse) Marshal() (dAtA []byte, err error)
- func (m *SessionInsertResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionInsertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SessionInsertResponse) ProtoMessage()
- func (m *SessionInsertResponse) Reset()
- func (m *SessionInsertResponse) Size() (n int)
- func (m *SessionInsertResponse) String() string
- func (m *SessionInsertResponse) Unmarshal(dAtA []byte) error
- func (m *SessionInsertResponse) XXX_DiscardUnknown()
- func (m *SessionInsertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SessionInsertResponse) XXX_Merge(src proto.Message)
- func (m *SessionInsertResponse) XXX_Size() int
- func (m *SessionInsertResponse) XXX_Unmarshal(b []byte) error
- type SessionServiceClient
- type SessionServiceServer
- type Sort
- type UnimplementedChangelogServiceServer
- func (*UnimplementedChangelogServiceServer) Get(ctx context.Context, req *Changelog) (*Changelog, error)
- func (*UnimplementedChangelogServiceServer) GetAll(ctx context.Context, req *Changelog) (*Changelogs, error)
- func (*UnimplementedChangelogServiceServer) Insert(ctx context.Context, req *Changelog) (*Empty, error)
- type UnimplementedPluginsServiceServer
- func (*UnimplementedPluginsServiceServer) Get(ctx context.Context, req *Plugin) (*Plugin, error)
- func (*UnimplementedPluginsServiceServer) Insert(ctx context.Context, req *Plugin) (*Empty, error)
- func (*UnimplementedPluginsServiceServer) Paginate(ctx context.Context, req *PaginatePluginsRequest) (*PaginatePluginsResponse, error)
- func (*UnimplementedPluginsServiceServer) Update(ctx context.Context, req *Plugin) (*Empty, error)
- type UnimplementedReadmeServiceServer
- type UnimplementedSessionServiceServer
- func (*UnimplementedSessionServiceServer) Delete(ctx context.Context, req *Session) (*Empty, error)
- func (*UnimplementedSessionServiceServer) Get(ctx context.Context, req *Session) (*Session, error)
- func (*UnimplementedSessionServiceServer) Insert(ctx context.Context, req *Session) (*SessionInsertResponse, error)
- type UnimplementedUsersServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetEmail() string
- func (m *User) GetId() string
- func (m *User) GetPassword() string
- func (m *User) GetPurchases() []*Purchase
- func (m *User) GetScopes() []string
- func (m *User) GetStripeId() string
- func (m *User) GetTag() string
- func (m *User) GetThumbnail() string
- func (m *User) GetUsername() string
- func (m *User) Marshal() (dAtA []byte, err error)
- func (m *User) MarshalTo(dAtA []byte) (int, error)
- func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) Size() (n int)
- func (m *User) String() string
- func (m *User) Unmarshal(dAtA []byte) error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UsersServiceClient
- type UsersServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group") )
var Category_name = map[int32]string{
0: "ALL",
1: "PREMIUM",
2: "TOOLS",
3: "ECONOMY",
4: "CHAT",
5: "MECHANICS",
6: "ADMIN",
7: "BUNGEE",
8: "FUN",
9: "MISC",
10: "LIBRARIES",
}
var Category_value = map[string]int32{
"ALL": 0,
"PREMIUM": 1,
"TOOLS": 2,
"ECONOMY": 3,
"CHAT": 4,
"MECHANICS": 5,
"ADMIN": 6,
"BUNGEE": 7,
"FUN": 8,
"MISC": 9,
"LIBRARIES": 10,
}
var Sort_name = map[int32]string{
0: "NONE",
1: "DOWNLOADS",
2: "PURCHASES",
3: "LATEST",
}
var Sort_value = map[string]int32{
"NONE": 0,
"DOWNLOADS": 1,
"PURCHASES": 2,
"LATEST": 3,
}
Functions ¶
func RegisterChangelogServiceServer ¶
func RegisterChangelogServiceServer(s *grpc.Server, srv ChangelogServiceServer)
func RegisterPluginsServiceServer ¶
func RegisterPluginsServiceServer(s *grpc.Server, srv PluginsServiceServer)
func RegisterReadmeServiceServer ¶
func RegisterReadmeServiceServer(s *grpc.Server, srv ReadmeServiceServer)
func RegisterSessionServiceServer ¶
func RegisterSessionServiceServer(s *grpc.Server, srv SessionServiceServer)
func RegisterUsersServiceServer ¶
func RegisterUsersServiceServer(s *grpc.Server, srv UsersServiceServer)
Types ¶
type Category ¶
type Category int32
const ( Category_ALL Category = 0 Category_PREMIUM Category = 1 Category_TOOLS Category = 2 Category_ECONOMY Category = 3 Category_CHAT Category = 4 Category_MECHANICS Category = 5 Category_ADMIN Category = 6 Category_BUNGEE Category = 7 Category_FUN Category = 8 Category_MISC Category = 9 Category_LIBRARIES Category = 10 )
func (Category) EnumDescriptor ¶
type Changelog ¶
type Changelog struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
PluginId string `protobuf:"bytes,2,opt,name=pluginId,proto3" json:"pluginId,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
Added []string `protobuf:"bytes,4,rep,name=added,proto3" json:"added,omitempty"`
Removed []string `protobuf:"bytes,5,rep,name=removed,proto3" json:"removed,omitempty"`
Updated []string `protobuf:"bytes,6,rep,name=updated,proto3" json:"updated,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Changelog) Descriptor ¶
func (*Changelog) GetPluginId ¶
func (*Changelog) GetRemoved ¶
func (*Changelog) GetUpdated ¶
func (*Changelog) GetVersion ¶
func (*Changelog) MarshalToSizedBuffer ¶
func (*Changelog) ProtoMessage ¶
func (*Changelog) ProtoMessage()
func (*Changelog) XXX_DiscardUnknown ¶
func (m *Changelog) XXX_DiscardUnknown()
func (*Changelog) XXX_Marshal ¶
func (*Changelog) XXX_Unmarshal ¶
type ChangelogServiceClient ¶
type ChangelogServiceClient interface {
Get(ctx context.Context, in *Changelog, opts ...grpc.CallOption) (*Changelog, error)
Insert(ctx context.Context, in *Changelog, opts ...grpc.CallOption) (*Empty, error)
GetAll(ctx context.Context, in *Changelog, opts ...grpc.CallOption) (*Changelogs, error)
}
ChangelogServiceClient is the client API for ChangelogService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChangelogServiceClient ¶
func NewChangelogServiceClient(cc *grpc.ClientConn) ChangelogServiceClient
type ChangelogServiceServer ¶
type ChangelogServiceServer interface {
Get(context.Context, *Changelog) (*Changelog, error)
Insert(context.Context, *Changelog) (*Empty, error)
GetAll(context.Context, *Changelog) (*Changelogs, error)
}
ChangelogServiceServer is the server API for ChangelogService service.
type Changelogs ¶
type Changelogs struct {
Changelogs []*Changelog `protobuf:"bytes,1,rep,name=changelogs,proto3" json:"changelogs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Changelogs) Descriptor ¶
func (*Changelogs) Descriptor() ([]byte, []int)
func (*Changelogs) GetChangelogs ¶
func (m *Changelogs) GetChangelogs() []*Changelog
func (*Changelogs) Marshal ¶
func (m *Changelogs) Marshal() (dAtA []byte, err error)
func (*Changelogs) MarshalToSizedBuffer ¶
func (m *Changelogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Changelogs) ProtoMessage ¶
func (*Changelogs) ProtoMessage()
func (*Changelogs) Reset ¶
func (m *Changelogs) Reset()
func (*Changelogs) Size ¶
func (m *Changelogs) Size() (n int)
func (*Changelogs) String ¶
func (m *Changelogs) String() string
func (*Changelogs) Unmarshal ¶
func (m *Changelogs) Unmarshal(dAtA []byte) error
func (*Changelogs) XXX_DiscardUnknown ¶
func (m *Changelogs) XXX_DiscardUnknown()
func (*Changelogs) XXX_Marshal ¶
func (m *Changelogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Changelogs) XXX_Merge ¶
func (m *Changelogs) XXX_Merge(src proto.Message)
func (*Changelogs) XXX_Size ¶
func (m *Changelogs) XXX_Size() int
func (*Changelogs) XXX_Unmarshal ¶
func (m *Changelogs) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type PaginatePluginsRequest ¶
type PaginatePluginsRequest struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
Category Category `protobuf:"varint,4,opt,name=category,proto3,enum=api.Category" json:"category,omitempty"`
Sort Sort `protobuf:"varint,5,opt,name=sort,proto3,enum=api.Sort" json:"sort,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PaginatePluginsRequest) Descriptor ¶
func (*PaginatePluginsRequest) Descriptor() ([]byte, []int)
func (*PaginatePluginsRequest) GetCategory ¶
func (m *PaginatePluginsRequest) GetCategory() Category
func (*PaginatePluginsRequest) GetCount ¶
func (m *PaginatePluginsRequest) GetCount() int32
func (*PaginatePluginsRequest) GetPage ¶
func (m *PaginatePluginsRequest) GetPage() int32
func (*PaginatePluginsRequest) GetSearch ¶
func (m *PaginatePluginsRequest) GetSearch() string
func (*PaginatePluginsRequest) GetSort ¶
func (m *PaginatePluginsRequest) GetSort() Sort
func (*PaginatePluginsRequest) Marshal ¶
func (m *PaginatePluginsRequest) Marshal() (dAtA []byte, err error)
func (*PaginatePluginsRequest) MarshalTo ¶
func (m *PaginatePluginsRequest) MarshalTo(dAtA []byte) (int, error)
func (*PaginatePluginsRequest) MarshalToSizedBuffer ¶
func (m *PaginatePluginsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PaginatePluginsRequest) ProtoMessage ¶
func (*PaginatePluginsRequest) ProtoMessage()
func (*PaginatePluginsRequest) Reset ¶
func (m *PaginatePluginsRequest) Reset()
func (*PaginatePluginsRequest) Size ¶
func (m *PaginatePluginsRequest) Size() (n int)
func (*PaginatePluginsRequest) String ¶
func (m *PaginatePluginsRequest) String() string
func (*PaginatePluginsRequest) Unmarshal ¶
func (m *PaginatePluginsRequest) Unmarshal(dAtA []byte) error
func (*PaginatePluginsRequest) XXX_DiscardUnknown ¶
func (m *PaginatePluginsRequest) XXX_DiscardUnknown()
func (*PaginatePluginsRequest) XXX_Marshal ¶
func (m *PaginatePluginsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginatePluginsRequest) XXX_Merge ¶
func (m *PaginatePluginsRequest) XXX_Merge(src proto.Message)
func (*PaginatePluginsRequest) XXX_Size ¶
func (m *PaginatePluginsRequest) XXX_Size() int
func (*PaginatePluginsRequest) XXX_Unmarshal ¶
func (m *PaginatePluginsRequest) XXX_Unmarshal(b []byte) error
type PaginatePluginsResponse ¶
type PaginatePluginsResponse struct {
Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PaginatePluginsResponse) Descriptor ¶
func (*PaginatePluginsResponse) Descriptor() ([]byte, []int)
func (*PaginatePluginsResponse) GetPlugins ¶
func (m *PaginatePluginsResponse) GetPlugins() []*Plugin
func (*PaginatePluginsResponse) Marshal ¶
func (m *PaginatePluginsResponse) Marshal() (dAtA []byte, err error)
func (*PaginatePluginsResponse) MarshalTo ¶
func (m *PaginatePluginsResponse) MarshalTo(dAtA []byte) (int, error)
func (*PaginatePluginsResponse) MarshalToSizedBuffer ¶
func (m *PaginatePluginsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PaginatePluginsResponse) ProtoMessage ¶
func (*PaginatePluginsResponse) ProtoMessage()
func (*PaginatePluginsResponse) Reset ¶
func (m *PaginatePluginsResponse) Reset()
func (*PaginatePluginsResponse) Size ¶
func (m *PaginatePluginsResponse) Size() (n int)
func (*PaginatePluginsResponse) String ¶
func (m *PaginatePluginsResponse) String() string
func (*PaginatePluginsResponse) Unmarshal ¶
func (m *PaginatePluginsResponse) Unmarshal(dAtA []byte) error
func (*PaginatePluginsResponse) XXX_DiscardUnknown ¶
func (m *PaginatePluginsResponse) XXX_DiscardUnknown()
func (*PaginatePluginsResponse) XXX_Marshal ¶
func (m *PaginatePluginsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginatePluginsResponse) XXX_Merge ¶
func (m *PaginatePluginsResponse) XXX_Merge(src proto.Message)
func (*PaginatePluginsResponse) XXX_Size ¶
func (m *PaginatePluginsResponse) XXX_Size() int
func (*PaginatePluginsResponse) XXX_Unmarshal ¶
func (m *PaginatePluginsResponse) XXX_Unmarshal(b []byte) error
type Plugin ¶
type Plugin 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"`
Author *User `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
Thumbnail string `protobuf:"bytes,6,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
Category Category `protobuf:"varint,7,opt,name=category,proto3,enum=api.Category" json:"category,omitempty"`
Metadata *PluginMetadata `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
Premium *Premium `protobuf:"bytes,9,opt,name=premium,proto3" json:"premium,omitempty"`
LastUpdated int64 `protobuf:"varint,10,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Plugin) Descriptor ¶
func (*Plugin) GetCategory ¶
func (*Plugin) GetDescription ¶
func (*Plugin) GetLastUpdated ¶
func (*Plugin) GetMetadata ¶
func (m *Plugin) GetMetadata() *PluginMetadata
func (*Plugin) GetPremium ¶
func (*Plugin) GetThumbnail ¶
func (*Plugin) GetVersion ¶
func (*Plugin) MarshalToSizedBuffer ¶
func (*Plugin) ProtoMessage ¶
func (*Plugin) ProtoMessage()
func (*Plugin) XXX_DiscardUnknown ¶
func (m *Plugin) XXX_DiscardUnknown()
func (*Plugin) XXX_Marshal ¶
func (*Plugin) XXX_Unmarshal ¶
type PluginMetadata ¶
type PluginMetadata struct {
Downloads int64 `protobuf:"varint,1,opt,name=downloads,proto3" json:"downloads,omitempty"`
Conflicts []string `protobuf:"bytes,2,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PluginMetadata) Descriptor ¶
func (*PluginMetadata) Descriptor() ([]byte, []int)
func (*PluginMetadata) GetConflicts ¶
func (m *PluginMetadata) GetConflicts() []string
func (*PluginMetadata) GetDownloads ¶
func (m *PluginMetadata) GetDownloads() int64
func (*PluginMetadata) Marshal ¶
func (m *PluginMetadata) Marshal() (dAtA []byte, err error)
func (*PluginMetadata) MarshalToSizedBuffer ¶
func (m *PluginMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PluginMetadata) ProtoMessage ¶
func (*PluginMetadata) ProtoMessage()
func (*PluginMetadata) Reset ¶
func (m *PluginMetadata) Reset()
func (*PluginMetadata) Size ¶
func (m *PluginMetadata) Size() (n int)
func (*PluginMetadata) String ¶
func (m *PluginMetadata) String() string
func (*PluginMetadata) Unmarshal ¶
func (m *PluginMetadata) Unmarshal(dAtA []byte) error
func (*PluginMetadata) XXX_DiscardUnknown ¶
func (m *PluginMetadata) XXX_DiscardUnknown()
func (*PluginMetadata) XXX_Marshal ¶
func (m *PluginMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PluginMetadata) XXX_Merge ¶
func (m *PluginMetadata) XXX_Merge(src proto.Message)
func (*PluginMetadata) XXX_Size ¶
func (m *PluginMetadata) XXX_Size() int
func (*PluginMetadata) XXX_Unmarshal ¶
func (m *PluginMetadata) XXX_Unmarshal(b []byte) error
type PluginsServiceClient ¶
type PluginsServiceClient interface {
Get(ctx context.Context, in *Plugin, opts ...grpc.CallOption) (*Plugin, error)
Insert(ctx context.Context, in *Plugin, opts ...grpc.CallOption) (*Empty, error)
Update(ctx context.Context, in *Plugin, opts ...grpc.CallOption) (*Empty, error)
Paginate(ctx context.Context, in *PaginatePluginsRequest, opts ...grpc.CallOption) (*PaginatePluginsResponse, error)
}
PluginsServiceClient is the client API for PluginsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPluginsServiceClient ¶
func NewPluginsServiceClient(cc *grpc.ClientConn) PluginsServiceClient
type PluginsServiceServer ¶
type PluginsServiceServer interface {
Get(context.Context, *Plugin) (*Plugin, error)
Insert(context.Context, *Plugin) (*Empty, error)
Update(context.Context, *Plugin) (*Empty, error)
Paginate(context.Context, *PaginatePluginsRequest) (*PaginatePluginsResponse, error)
}
PluginsServiceServer is the server API for PluginsService service.
type Premium ¶
type Premium struct {
Price int32 `protobuf:"varint,1,opt,name=price,proto3" json:"price,omitempty"`
Purchases int32 `protobuf:"varint,2,opt,name=purchases,proto3" json:"purchases,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Premium) Descriptor ¶
func (*Premium) GetPurchases ¶
func (*Premium) MarshalToSizedBuffer ¶
func (*Premium) ProtoMessage ¶
func (*Premium) ProtoMessage()
func (*Premium) XXX_DiscardUnknown ¶
func (m *Premium) XXX_DiscardUnknown()
func (*Premium) XXX_Marshal ¶
func (*Premium) XXX_Unmarshal ¶
type Purchase ¶
type Purchase struct {
ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId,omitempty"`
Session string `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
Complete bool `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Purchase) Descriptor ¶
func (*Purchase) GetComplete ¶
func (*Purchase) GetObjectId ¶
func (*Purchase) GetSession ¶
func (*Purchase) MarshalToSizedBuffer ¶
func (*Purchase) ProtoMessage ¶
func (*Purchase) ProtoMessage()
func (*Purchase) XXX_DiscardUnknown ¶
func (m *Purchase) XXX_DiscardUnknown()
func (*Purchase) XXX_Marshal ¶
func (*Purchase) XXX_Unmarshal ¶
type Readme ¶
type Readme struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Plugin *Plugin `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Readme) Descriptor ¶
func (*Readme) MarshalToSizedBuffer ¶
func (*Readme) ProtoMessage ¶
func (*Readme) ProtoMessage()
func (*Readme) XXX_DiscardUnknown ¶
func (m *Readme) XXX_DiscardUnknown()
func (*Readme) XXX_Marshal ¶
func (*Readme) XXX_Unmarshal ¶
type ReadmeServiceClient ¶
type ReadmeServiceClient interface {
Get(ctx context.Context, in *Plugin, opts ...grpc.CallOption) (*Readme, error)
Insert(ctx context.Context, in *Readme, opts ...grpc.CallOption) (*Empty, error)
Update(ctx context.Context, in *Readme, opts ...grpc.CallOption) (*Empty, error)
}
ReadmeServiceClient is the client API for ReadmeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReadmeServiceClient ¶
func NewReadmeServiceClient(cc *grpc.ClientConn) ReadmeServiceClient
type ReadmeServiceServer ¶
type ReadmeServiceServer interface {
Get(context.Context, *Plugin) (*Readme, error)
Insert(context.Context, *Readme) (*Empty, error)
Update(context.Context, *Readme) (*Empty, error)
}
ReadmeServiceServer is the server API for ReadmeService service.
type Session ¶
type Session struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
LastRetrieved int64 `protobuf:"varint,3,opt,name=lastRetrieved,proto3" json:"lastRetrieved,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Session) Descriptor ¶
func (*Session) GetLastRetrieved ¶
func (*Session) MarshalToSizedBuffer ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) XXX_DiscardUnknown ¶
func (m *Session) XXX_DiscardUnknown()
func (*Session) XXX_Marshal ¶
func (*Session) XXX_Unmarshal ¶
type SessionInsertResponse ¶
type SessionInsertResponse 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 (*SessionInsertResponse) Descriptor ¶
func (*SessionInsertResponse) Descriptor() ([]byte, []int)
func (*SessionInsertResponse) GetId ¶
func (m *SessionInsertResponse) GetId() string
func (*SessionInsertResponse) Marshal ¶
func (m *SessionInsertResponse) Marshal() (dAtA []byte, err error)
func (*SessionInsertResponse) MarshalTo ¶
func (m *SessionInsertResponse) MarshalTo(dAtA []byte) (int, error)
func (*SessionInsertResponse) MarshalToSizedBuffer ¶
func (m *SessionInsertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionInsertResponse) ProtoMessage ¶
func (*SessionInsertResponse) ProtoMessage()
func (*SessionInsertResponse) Reset ¶
func (m *SessionInsertResponse) Reset()
func (*SessionInsertResponse) Size ¶
func (m *SessionInsertResponse) Size() (n int)
func (*SessionInsertResponse) String ¶
func (m *SessionInsertResponse) String() string
func (*SessionInsertResponse) Unmarshal ¶
func (m *SessionInsertResponse) Unmarshal(dAtA []byte) error
func (*SessionInsertResponse) XXX_DiscardUnknown ¶
func (m *SessionInsertResponse) XXX_DiscardUnknown()
func (*SessionInsertResponse) XXX_Marshal ¶
func (m *SessionInsertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessionInsertResponse) XXX_Merge ¶
func (m *SessionInsertResponse) XXX_Merge(src proto.Message)
func (*SessionInsertResponse) XXX_Size ¶
func (m *SessionInsertResponse) XXX_Size() int
func (*SessionInsertResponse) XXX_Unmarshal ¶
func (m *SessionInsertResponse) XXX_Unmarshal(b []byte) error
type SessionServiceClient ¶
type SessionServiceClient interface {
Get(ctx context.Context, in *Session, opts ...grpc.CallOption) (*Session, error)
Insert(ctx context.Context, in *Session, opts ...grpc.CallOption) (*SessionInsertResponse, error)
Delete(ctx context.Context, in *Session, opts ...grpc.CallOption) (*Empty, error)
}
SessionServiceClient is the client API for SessionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSessionServiceClient ¶
func NewSessionServiceClient(cc *grpc.ClientConn) SessionServiceClient
type SessionServiceServer ¶
type SessionServiceServer interface {
Get(context.Context, *Session) (*Session, error)
Insert(context.Context, *Session) (*SessionInsertResponse, error)
Delete(context.Context, *Session) (*Empty, error)
}
SessionServiceServer is the server API for SessionService service.
type UnimplementedChangelogServiceServer ¶
type UnimplementedChangelogServiceServer struct {
}
UnimplementedChangelogServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedChangelogServiceServer) GetAll ¶
func (*UnimplementedChangelogServiceServer) GetAll(ctx context.Context, req *Changelog) (*Changelogs, error)
type UnimplementedPluginsServiceServer ¶
type UnimplementedPluginsServiceServer struct {
}
UnimplementedPluginsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPluginsServiceServer) Paginate ¶
func (*UnimplementedPluginsServiceServer) Paginate(ctx context.Context, req *PaginatePluginsRequest) (*PaginatePluginsResponse, error)
type UnimplementedReadmeServiceServer ¶
type UnimplementedReadmeServiceServer struct {
}
UnimplementedReadmeServiceServer can be embedded to have forward compatible implementations.
type UnimplementedSessionServiceServer ¶
type UnimplementedSessionServiceServer struct {
}
UnimplementedSessionServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSessionServiceServer) Insert ¶
func (*UnimplementedSessionServiceServer) Insert(ctx context.Context, req *Session) (*SessionInsertResponse, error)
type UnimplementedUsersServiceServer ¶
type UnimplementedUsersServiceServer struct {
}
UnimplementedUsersServiceServer can be embedded to have forward compatible implementations.
type User ¶
type User 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"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"`
Thumbnail string `protobuf:"bytes,7,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
StripeId string `protobuf:"bytes,8,opt,name=stripeId,proto3" json:"stripeId,omitempty"`
Purchases []*Purchase `protobuf:"bytes,9,rep,name=purchases,proto3" json:"purchases,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*User) Descriptor ¶
func (*User) GetPassword ¶
func (*User) GetPurchases ¶
func (*User) GetStripeId ¶
func (*User) GetThumbnail ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UsersServiceClient ¶
type UsersServiceClient interface {
Get(ctx context.Context, in *User, opts ...grpc.CallOption) (*User, error)
Insert(ctx context.Context, in *User, opts ...grpc.CallOption) (*Empty, error)
Update(ctx context.Context, in *User, opts ...grpc.CallOption) (*Empty, error)
}
UsersServiceClient is the client API for UsersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUsersServiceClient ¶
func NewUsersServiceClient(cc *grpc.ClientConn) UsersServiceClient