Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var InfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "buf.plugin.info.v1.InfoService", HandlerType: (*InfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetInfo", Handler: _InfoService_GetInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "buf/plugin/info/v1/info_service.proto", }
InfoService_ServiceDesc is the grpc.ServiceDesc for InfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInfoServiceServer ¶
func RegisterInfoServiceServer(s grpc.ServiceRegistrar, srv InfoServiceServer)
Types ¶
type InfoServiceClient ¶
type InfoServiceClient interface { // GetInfo gets information about the plugin. GetInfo(ctx context.Context, in *v1.GetInfoRequest, opts ...grpc.CallOption) (*v1.GetInfoResponse, error) }
InfoServiceClient is the client API for InfoService 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 NewInfoServiceClient ¶
func NewInfoServiceClient(cc grpc.ClientConnInterface) InfoServiceClient
type InfoServiceServer ¶
type InfoServiceServer interface { // GetInfo gets information about the plugin. GetInfo(context.Context, *v1.GetInfoRequest) (*v1.GetInfoResponse, error) }
InfoServiceServer is the server API for InfoService service. All implementations should embed UnimplementedInfoServiceServer for forward compatibility
type UnimplementedInfoServiceServer ¶
type UnimplementedInfoServiceServer struct { }
UnimplementedInfoServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedInfoServiceServer) GetInfo ¶
func (UnimplementedInfoServiceServer) GetInfo(context.Context, *v1.GetInfoRequest) (*v1.GetInfoResponse, error)
type UnsafeInfoServiceServer ¶
type UnsafeInfoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InfoServiceServer will result in compilation errors.