statsv1grpc

package
v1.2.0-20250203152518-... 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

This section is empty.

Variables

View Source
var StatsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "santa.stats.v1.StatsService",
	HandlerType: (*StatsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SubmitStats",
			Handler:    _StatsService_SubmitStats_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "stats/v1.proto",
}

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

Functions

func RegisterStatsServiceServer

func RegisterStatsServiceServer(s grpc.ServiceRegistrar, srv StatsServiceServer)

Types

type StatsServiceClient

type StatsServiceClient interface {
	SubmitStats(ctx context.Context, in *stats.SubmitStatsRequest, opts ...grpc.CallOption) (*stats.SubmitStatsResponse, error)
}

StatsServiceClient is the client API for StatsService 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 NewStatsServiceClient

func NewStatsServiceClient(cc grpc.ClientConnInterface) StatsServiceClient

type StatsServiceServer

type StatsServiceServer interface {
	SubmitStats(context.Context, *stats.SubmitStatsRequest) (*stats.SubmitStatsResponse, error)
}

StatsServiceServer is the server API for StatsService service. All implementations should embed UnimplementedStatsServiceServer for forward compatibility

type UnimplementedStatsServiceServer

type UnimplementedStatsServiceServer struct {
}

UnimplementedStatsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedStatsServiceServer) SubmitStats

type UnsafeStatsServiceServer

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

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

Jump to

Keyboard shortcuts

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