70 lines
2.2 KiB
Go
70 lines
2.2 KiB
Go
|
//go:build !solution
|
||
|
|
||
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// - protoc-gen-go-grpc v1.3.0
|
||
|
// - protoc v3.19.6
|
||
|
// source: meshpb/protocol.proto
|
||
|
|
||
|
package meshpb
|
||
|
|
||
|
import (
|
||
|
grpc "google.golang.org/grpc"
|
||
|
)
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the grpc package it is being compiled against.
|
||
|
// Requires gRPC-Go v1.32.0 or later.
|
||
|
const _ = grpc.SupportPackageIsVersion7
|
||
|
|
||
|
const ()
|
||
|
|
||
|
// GossipServiceClient is the client API for GossipService 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.
|
||
|
type GossipServiceClient interface {
|
||
|
}
|
||
|
|
||
|
type gossipServiceClient struct {
|
||
|
cc grpc.ClientConnInterface
|
||
|
}
|
||
|
|
||
|
func NewGossipServiceClient(cc grpc.ClientConnInterface) GossipServiceClient {
|
||
|
return &gossipServiceClient{cc}
|
||
|
}
|
||
|
|
||
|
// GossipServiceServer is the server API for GossipService service.
|
||
|
// All implementations must embed UnimplementedGossipServiceServer
|
||
|
// for forward compatibility
|
||
|
type GossipServiceServer interface {
|
||
|
mustEmbedUnimplementedGossipServiceServer()
|
||
|
}
|
||
|
|
||
|
// UnimplementedGossipServiceServer must be embedded to have forward compatible implementations.
|
||
|
type UnimplementedGossipServiceServer struct {
|
||
|
}
|
||
|
|
||
|
func (UnimplementedGossipServiceServer) mustEmbedUnimplementedGossipServiceServer() {}
|
||
|
|
||
|
// UnsafeGossipServiceServer may be embedded to opt out of forward compatibility for this service.
|
||
|
// Use of this interface is not recommended, as added methods to GossipServiceServer will
|
||
|
// result in compilation errors.
|
||
|
type UnsafeGossipServiceServer interface {
|
||
|
mustEmbedUnimplementedGossipServiceServer()
|
||
|
}
|
||
|
|
||
|
func RegisterGossipServiceServer(s grpc.ServiceRegistrar, srv GossipServiceServer) {
|
||
|
s.RegisterService(&GossipService_ServiceDesc, srv)
|
||
|
}
|
||
|
|
||
|
// GossipService_ServiceDesc is the grpc.ServiceDesc for GossipService service.
|
||
|
// It's only intended for direct use with grpc.RegisterService,
|
||
|
// and not to be introspected or modified (even as a copy)
|
||
|
var GossipService_ServiceDesc = grpc.ServiceDesc{
|
||
|
ServiceName: "GossipService",
|
||
|
HandlerType: (*GossipServiceServer)(nil),
|
||
|
Methods: []grpc.MethodDesc{},
|
||
|
Streams: []grpc.StreamDesc{},
|
||
|
Metadata: "meshpb/protocol.proto",
|
||
|
}
|