claims_provider

package
v0.0.0-...-d7e398f Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

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

Deprecated: Use Claims.ProtoReflect.Descriptor instead.

func (*Claims) GetConnection

func (x *Claims) GetConnection() *Connection

func (*Claims) GetEmbed

func (x *Claims) GetEmbed() *Embed

func (*Claims) GetSite

func (x *Claims) GetSite() *Site

func (*Claims) ProtoMessage

func (*Claims) ProtoMessage()

func (*Claims) ProtoReflect

func (x *Claims) ProtoReflect() protoreflect.Message

func (*Claims) Reset

func (x *Claims) Reset()

func (*Claims) String

func (x *Claims) String() string

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.

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetTier

func (x *Context) GetTier() *Tier

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) ProtoReflect

func (x *Context) ProtoReflect() protoreflect.Message

func (*Context) Reset

func (x *Context) Reset()

func (*Context) String

func (x *Context) String() string

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

Deprecated: Use Embed.ProtoReflect.Descriptor instead.

func (*Embed) GetNoAds

func (x *Embed) GetNoAds() bool

func (*Embed) ProtoMessage

func (*Embed) ProtoMessage()

func (*Embed) ProtoReflect

func (x *Embed) ProtoReflect() protoreflect.Message

func (*Embed) Reset

func (x *Embed) Reset()

func (*Embed) String

func (x *Embed) String() string

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

Deprecated: Use Site.ProtoReflect.Descriptor instead.

func (*Site) GetNoAds

func (x *Site) GetNoAds() bool

func (*Site) ProtoMessage

func (*Site) ProtoMessage()

func (*Site) ProtoReflect

func (x *Site) ProtoReflect() protoreflect.Message

func (*Site) Reset

func (x *Site) Reset()

func (*Site) String

func (x *Site) String() string

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

Deprecated: Use Tier.ProtoReflect.Descriptor instead.

func (*Tier) GetId

func (x *Tier) GetId() uint32

func (*Tier) GetName

func (x *Tier) GetName() string

func (*Tier) ProtoMessage

func (*Tier) ProtoMessage()

func (*Tier) ProtoReflect

func (x *Tier) ProtoReflect() protoreflect.Message

func (*Tier) Reset

func (x *Tier) Reset()

func (*Tier) String

func (x *Tier) String() string

type UnimplementedClaimsProviderServer

type UnimplementedClaimsProviderServer struct {
}

UnimplementedClaimsProviderServer can be embedded to have forward compatible implementations.

func (*UnimplementedClaimsProviderServer) Get

Jump to

Keyboard shortcuts

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