v0grpc

package
v1.3.0-20240319091308-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeveloperService_EditCheck_FullMethodName     = "/authzed.api.v0.DeveloperService/EditCheck"
	DeveloperService_Validate_FullMethodName      = "/authzed.api.v0.DeveloperService/Validate"
	DeveloperService_Share_FullMethodName         = "/authzed.api.v0.DeveloperService/Share"
	DeveloperService_LookupShared_FullMethodName  = "/authzed.api.v0.DeveloperService/LookupShared"
	DeveloperService_UpgradeSchema_FullMethodName = "/authzed.api.v0.DeveloperService/UpgradeSchema"
	DeveloperService_FormatSchema_FullMethodName  = "/authzed.api.v0.DeveloperService/FormatSchema"
)

Variables

View Source
var DeveloperService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "authzed.api.v0.DeveloperService",
	HandlerType: (*DeveloperServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EditCheck",
			Handler:    _DeveloperService_EditCheck_Handler,
		},
		{
			MethodName: "Validate",
			Handler:    _DeveloperService_Validate_Handler,
		},
		{
			MethodName: "Share",
			Handler:    _DeveloperService_Share_Handler,
		},
		{
			MethodName: "LookupShared",
			Handler:    _DeveloperService_LookupShared_Handler,
		},
		{
			MethodName: "UpgradeSchema",
			Handler:    _DeveloperService_UpgradeSchema_Handler,
		},
		{
			MethodName: "FormatSchema",
			Handler:    _DeveloperService_FormatSchema_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authzed/api/v0/developer.proto",
}

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

Functions

func RegisterDeveloperServiceServer

func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)

Types

type DeveloperServiceClient

type DeveloperServiceClient interface {
	EditCheck(ctx context.Context, in *v0.EditCheckRequest, opts ...grpc.CallOption) (*v0.EditCheckResponse, error)
	Validate(ctx context.Context, in *v0.ValidateRequest, opts ...grpc.CallOption) (*v0.ValidateResponse, error)
	Share(ctx context.Context, in *v0.ShareRequest, opts ...grpc.CallOption) (*v0.ShareResponse, error)
	LookupShared(ctx context.Context, in *v0.LookupShareRequest, opts ...grpc.CallOption) (*v0.LookupShareResponse, error)
	UpgradeSchema(ctx context.Context, in *v0.UpgradeSchemaRequest, opts ...grpc.CallOption) (*v0.UpgradeSchemaResponse, error)
	FormatSchema(ctx context.Context, in *v0.FormatSchemaRequest, opts ...grpc.CallOption) (*v0.FormatSchemaResponse, error)
}

DeveloperServiceClient is the client API for DeveloperService 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 NewDeveloperServiceClient

func NewDeveloperServiceClient(cc grpc.ClientConnInterface) DeveloperServiceClient

type DeveloperServiceServer

DeveloperServiceServer is the server API for DeveloperService service. All implementations should embed UnimplementedDeveloperServiceServer for forward compatibility

type UnimplementedDeveloperServiceServer

type UnimplementedDeveloperServiceServer struct {
}

UnimplementedDeveloperServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedDeveloperServiceServer) EditCheck

func (UnimplementedDeveloperServiceServer) FormatSchema

func (UnimplementedDeveloperServiceServer) LookupShared

func (UnimplementedDeveloperServiceServer) Share

func (UnimplementedDeveloperServiceServer) UpgradeSchema

func (UnimplementedDeveloperServiceServer) Validate

type UnsafeDeveloperServiceServer

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

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

Jump to

Keyboard shortcuts

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