rpcapi

package
v0.0.0-...-a1469cb Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Auth1_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "rpcapi.Auth1",
	HandlerType: (*Auth1Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSiteJwtSecret",
			Handler:    _Auth1_GetSiteJwtSecret_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "rpcapi/auth1.proto",
}

Auth1_ServiceDesc is the grpc.ServiceDesc for Auth1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_rpcapi_auth1_proto protoreflect.FileDescriptor

Functions

func RegisterAuth1Server

func RegisterAuth1Server(s grpc.ServiceRegistrar, srv Auth1Server)

Types

type Auth1Client

type Auth1Client interface {
	GetSiteJwtSecret(ctx context.Context, in *SiteJwtSecretRequest, opts ...grpc.CallOption) (*SiteJwtSecretReply, error)
}

Auth1Client is the client API for Auth1 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAuth1Client

func NewAuth1Client(cc grpc.ClientConnInterface) Auth1Client

type Auth1Server

type Auth1Server interface {
	GetSiteJwtSecret(context.Context, *SiteJwtSecretRequest) (*SiteJwtSecretReply, error)
	// contains filtered or unexported methods
}

Auth1Server is the server API for Auth1 service. All implementations must embed UnimplementedAuth1Server for forward compatibility

type SiteJwtSecretReply

type SiteJwtSecretReply struct {
	JwtSecret []byte `protobuf:"bytes,1,opt,name=jwtSecret,proto3" json:"jwtSecret,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteJwtSecretReply) Descriptor deprecated

func (*SiteJwtSecretReply) Descriptor() ([]byte, []int)

Deprecated: Use SiteJwtSecretReply.ProtoReflect.Descriptor instead.

func (*SiteJwtSecretReply) GetJwtSecret

func (x *SiteJwtSecretReply) GetJwtSecret() []byte

func (*SiteJwtSecretReply) ProtoMessage

func (*SiteJwtSecretReply) ProtoMessage()

func (*SiteJwtSecretReply) ProtoReflect

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

func (*SiteJwtSecretReply) Reset

func (x *SiteJwtSecretReply) Reset()

func (*SiteJwtSecretReply) String

func (x *SiteJwtSecretReply) String() string

type SiteJwtSecretRequest

type SiteJwtSecretRequest struct {
	SiteKey string `protobuf:"bytes,1,opt,name=siteKey,proto3" json:"siteKey,omitempty"`
	// contains filtered or unexported fields
}

func (*SiteJwtSecretRequest) Descriptor deprecated

func (*SiteJwtSecretRequest) Descriptor() ([]byte, []int)

Deprecated: Use SiteJwtSecretRequest.ProtoReflect.Descriptor instead.

func (*SiteJwtSecretRequest) GetSiteKey

func (x *SiteJwtSecretRequest) GetSiteKey() string

func (*SiteJwtSecretRequest) ProtoMessage

func (*SiteJwtSecretRequest) ProtoMessage()

func (*SiteJwtSecretRequest) ProtoReflect

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

func (*SiteJwtSecretRequest) Reset

func (x *SiteJwtSecretRequest) Reset()

func (*SiteJwtSecretRequest) String

func (x *SiteJwtSecretRequest) String() string

type UnimplementedAuth1Server

type UnimplementedAuth1Server struct {
}

UnimplementedAuth1Server must be embedded to have forward compatible implementations.

func (UnimplementedAuth1Server) GetSiteJwtSecret

type UnsafeAuth1Server

type UnsafeAuth1Server interface {
	// contains filtered or unexported methods
}

UnsafeAuth1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to Auth1Server will result in compilation errors.

Jump to

Keyboard shortcuts

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