Documentation
¶
Index ¶
- Variables
- func RegisterClaimsProviderServer(s *grpc.Server, srv ClaimsProviderServer)
- type Claims
- func (*Claims) Descriptor() ([]byte, []int)deprecated
- func (x *Claims) GetConnection() *Connection
- func (x *Claims) GetEmbed() *Embed
- func (x *Claims) GetSite() *Site
- func (*Claims) ProtoMessage()
- func (x *Claims) ProtoReflect() protoreflect.Message
- func (x *Claims) Reset()
- func (x *Claims) String() string
- type ClaimsProviderClient
- type ClaimsProviderServer
- type Connection
- type Context
- type Embed
- type GetRequest
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetClaims() *Claims
- func (x *GetResponse) GetContext() *Context
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type Site
- type Tier
- type UnimplementedClaimsProviderServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_claims_provider_proto protoreflect.FileDescriptor
Functions ¶
func RegisterClaimsProviderServer ¶
func RegisterClaimsProviderServer(s *grpc.Server, srv ClaimsProviderServer)
Types ¶
type Claims ¶
type Claims struct { Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` Embed *Embed `protobuf:"bytes,2,opt,name=embed,proto3" json:"embed,omitempty"` Site *Site `protobuf:"bytes,3,opt,name=site,proto3" json:"site,omitempty"` // contains filtered or unexported fields }
func (*Claims) Descriptor
deprecated
func (*Claims) GetConnection ¶
func (x *Claims) GetConnection() *Connection
func (*Claims) ProtoMessage ¶
func (*Claims) ProtoMessage()
func (*Claims) ProtoReflect ¶
func (x *Claims) ProtoReflect() protoreflect.Message
type ClaimsProviderClient ¶
type ClaimsProviderClient interface {
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
}
ClaimsProviderClient is the client API for ClaimsProvider service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClaimsProviderClient ¶
func NewClaimsProviderClient(cc grpc.ClientConnInterface) ClaimsProviderClient
type ClaimsProviderServer ¶
type ClaimsProviderServer interface {
Get(context.Context, *GetRequest) (*GetResponse, error)
}
ClaimsProviderServer is the server API for ClaimsProvider service.
type Connection ¶
type Connection struct { Rate uint64 `protobuf:"varint,1,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetRate ¶
func (x *Connection) GetRate() uint64
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type Context ¶
type Context struct { Tier *Tier `protobuf:"bytes,1,opt,name=tier,proto3" json:"tier,omitempty"` // contains filtered or unexported fields }
func (*Context) Descriptor
deprecated
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) ProtoReflect ¶
func (x *Context) ProtoReflect() protoreflect.Message
type Embed ¶
type Embed struct { NoAds bool `protobuf:"varint,1,opt,name=no_ads,json=noAds,proto3" json:"no_ads,omitempty"` // contains filtered or unexported fields }
func (*Embed) Descriptor
deprecated
func (*Embed) ProtoMessage ¶
func (*Embed) ProtoMessage()
func (*Embed) ProtoReflect ¶
func (x *Embed) ProtoReflect() protoreflect.Message
type GetRequest ¶
type GetRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetEmail ¶
func (x *GetRequest) GetEmail() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Claims *Claims `protobuf:"bytes,2,opt,name=claims,proto3" json:"claims,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetClaims ¶
func (x *GetResponse) GetClaims() *Claims
func (*GetResponse) GetContext ¶
func (x *GetResponse) GetContext() *Context
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type Site ¶
type Site struct { NoAds bool `protobuf:"varint,1,opt,name=no_ads,json=noAds,proto3" json:"no_ads,omitempty"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
type Tier ¶
type Tier struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Tier) Descriptor
deprecated
func (*Tier) ProtoMessage ¶
func (*Tier) ProtoMessage()
func (*Tier) ProtoReflect ¶
func (x *Tier) ProtoReflect() protoreflect.Message
type UnimplementedClaimsProviderServer ¶
type UnimplementedClaimsProviderServer struct { }
UnimplementedClaimsProviderServer can be embedded to have forward compatible implementations.
func (*UnimplementedClaimsProviderServer) Get ¶
func (*UnimplementedClaimsProviderServer) Get(context.Context, *GetRequest) (*GetResponse, error)
Click to show internal directories.
Click to hide internal directories.