access_v1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessV1_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "access_v1.AccessV1",
	HandlerType: (*AccessV1Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Check",
			Handler:    _AccessV1_Check_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "access.proto",
}

AccessV1_ServiceDesc is the grpc.ServiceDesc for AccessV1 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_access_proto protoreflect.FileDescriptor

Functions

func RegisterAccessV1Server

func RegisterAccessV1Server(s grpc.ServiceRegistrar, srv AccessV1Server)

Types

type AccessV1Client

type AccessV1Client interface {
	Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AccessV1Client is the client API for AccessV1 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 NewAccessV1Client

func NewAccessV1Client(cc grpc.ClientConnInterface) AccessV1Client

type AccessV1Server

type AccessV1Server interface {
	Check(context.Context, *CheckRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

AccessV1Server is the server API for AccessV1 service. All implementations must embed UnimplementedAccessV1Server for forward compatibility

type CheckRequest

type CheckRequest struct {
	EndpointAddress string `protobuf:"bytes,1,opt,name=endpoint_address,json=endpointAddress,proto3" json:"endpoint_address,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRequest) Descriptor deprecated

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

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) GetEndpointAddress

func (x *CheckRequest) GetEndpointAddress() string

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) ProtoReflect

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

func (*CheckRequest) Reset

func (x *CheckRequest) Reset()

func (*CheckRequest) String

func (x *CheckRequest) String() string

type UnimplementedAccessV1Server

type UnimplementedAccessV1Server struct {
}

UnimplementedAccessV1Server must be embedded to have forward compatible implementations.

func (UnimplementedAccessV1Server) Check

type UnsafeAccessV1Server

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

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

Jump to

Keyboard shortcuts

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