carbonapi_v2_grpc

package
v1.0.1-0...-167840a Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CarbonV2_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "carbonapi_v2_grpc.CarbonV2",
	HandlerType: (*CarbonV2Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Find",
			Handler:    _CarbonV2_Find_Handler,
		},
		{
			MethodName: "List",
			Handler:    _CarbonV2_List_Handler,
		},
		{
			MethodName: "Info",
			Handler:    _CarbonV2_Info_Handler,
		},
		{
			MethodName: "Stats",
			Handler:    _CarbonV2_Stats_Handler,
		},
		{
			MethodName: "Version",
			Handler:    _CarbonV2_Version_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Render",
			Handler:       _CarbonV2_Render_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "carbonapi_v2_grpc/carbonapi_v2_grpc.proto",
}

CarbonV2_ServiceDesc is the grpc.ServiceDesc for CarbonV2 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_carbonapi_v2_grpc_carbonapi_v2_grpc_proto protoreflect.FileDescriptor

Functions

func RegisterCarbonV2Server

func RegisterCarbonV2Server(s grpc.ServiceRegistrar, srv CarbonV2Server)

Types

type CarbonV2Client

CarbonV2Client is the client API for CarbonV2 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 NewCarbonV2Client

func NewCarbonV2Client(cc grpc.ClientConnInterface) CarbonV2Client

type CarbonV2Server

CarbonV2Server is the server API for CarbonV2 service. All implementations must embed UnimplementedCarbonV2Server for forward compatibility

type CarbonV2_RenderClient

type CarbonV2_RenderClient interface {
	Recv() (*carbonapi_v2_pb.FetchResponse, error)
	grpc.ClientStream
}

type CarbonV2_RenderServer

type CarbonV2_RenderServer interface {
	Send(*carbonapi_v2_pb.FetchResponse) error
	grpc.ServerStream
}

type UnimplementedCarbonV2Server

type UnimplementedCarbonV2Server struct {
}

UnimplementedCarbonV2Server must be embedded to have forward compatible implementations.

type UnsafeCarbonV2Server

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

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

Jump to

Keyboard shortcuts

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