Documentation ¶
Index ¶
- Variables
- func RegisterBerryPostMessageGeneratorServer(s grpc.ServiceRegistrar, srv BerryPostMessageGeneratorServer)
- func RegisterBerryPostProtoStoreServer(s grpc.ServiceRegistrar, srv BerryPostProtoStoreServer)
- func RegisterBerryPostResolverServer(s grpc.ServiceRegistrar, srv BerryPostResolverServer)
- type BerryPostMessageGeneratorClient
- type BerryPostMessageGeneratorServer
- type BerryPostProtoStoreClient
- type BerryPostProtoStoreServer
- type BerryPostResolverClient
- type BerryPostResolverServer
- type GenerateMessageRequest
- type GenerateMessageResponse
- func (*GenerateMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateMessageResponse) GetData() []byte
- func (*GenerateMessageResponse) ProtoMessage()
- func (x *GenerateMessageResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateMessageResponse) Reset()
- func (x *GenerateMessageResponse) String() string
- type GetProtoRequest
- func (*GetProtoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProtoRequest) GetMethod() string
- func (x *GetProtoRequest) GetService() string
- func (*GetProtoRequest) ProtoMessage()
- func (x *GetProtoRequest) ProtoReflect() protoreflect.Message
- func (x *GetProtoRequest) Reset()
- func (x *GetProtoRequest) String() string
- type GetProtoResponse
- type ProtoFile
- type ResolveOnceRequest
- func (*ResolveOnceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveOnceRequest) GetName() string
- func (*ResolveOnceRequest) ProtoMessage()
- func (x *ResolveOnceRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveOnceRequest) Reset()
- func (x *ResolveOnceRequest) String() string
- type ResolveOnceResponse
- func (*ResolveOnceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveOnceResponse) GetAddrs() []string
- func (*ResolveOnceResponse) ProtoMessage()
- func (x *ResolveOnceResponse) ProtoReflect() protoreflect.Message
- func (x *ResolveOnceResponse) Reset()
- func (x *ResolveOnceResponse) String() string
- type UnimplementedBerryPostMessageGeneratorServer
- type UnimplementedBerryPostProtoStoreServer
- type UnimplementedBerryPostResolverServer
- type UnsafeBerryPostMessageGeneratorServer
- type UnsafeBerryPostProtoStoreServer
- type UnsafeBerryPostResolverServer
Constants ¶
This section is empty.
Variables ¶
var BerryPostMessageGenerator_ServiceDesc = grpc.ServiceDesc{ ServiceName: "berrypost.v1.BerryPostMessageGenerator", HandlerType: (*BerryPostMessageGeneratorServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenerateMessage", Handler: _BerryPostMessageGenerator_GenerateMessage_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message_generator.proto", }
BerryPostMessageGenerator_ServiceDesc is the grpc.ServiceDesc for BerryPostMessageGenerator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BerryPostProtoStore_ServiceDesc = grpc.ServiceDesc{ ServiceName: "berrypost.v1.BerryPostProtoStore", HandlerType: (*BerryPostProtoStoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProto", Handler: _BerryPostProtoStore_GetProto_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto_store.proto", }
BerryPostProtoStore_ServiceDesc is the grpc.ServiceDesc for BerryPostProtoStore service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BerryPostResolver_ServiceDesc = grpc.ServiceDesc{ ServiceName: "berrypost.v1.BerryPostResolver", HandlerType: (*BerryPostResolverServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ResolveOnce", Handler: _BerryPostResolver_ResolveOnce_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "resolver.proto", }
BerryPostResolver_ServiceDesc is the grpc.ServiceDesc for BerryPostResolver service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_message_generator_proto protoreflect.FileDescriptor
var File_proto_store_proto protoreflect.FileDescriptor
var File_resolver_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBerryPostMessageGeneratorServer ¶
func RegisterBerryPostMessageGeneratorServer(s grpc.ServiceRegistrar, srv BerryPostMessageGeneratorServer)
func RegisterBerryPostProtoStoreServer ¶
func RegisterBerryPostProtoStoreServer(s grpc.ServiceRegistrar, srv BerryPostProtoStoreServer)
func RegisterBerryPostResolverServer ¶
func RegisterBerryPostResolverServer(s grpc.ServiceRegistrar, srv BerryPostResolverServer)
Types ¶
type BerryPostMessageGeneratorClient ¶
type BerryPostMessageGeneratorClient interface {
GenerateMessage(ctx context.Context, in *GenerateMessageRequest, opts ...grpc.CallOption) (*GenerateMessageResponse, error)
}
BerryPostMessageGeneratorClient is the client API for BerryPostMessageGenerator 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 NewBerryPostMessageGeneratorClient ¶
func NewBerryPostMessageGeneratorClient(cc grpc.ClientConnInterface) BerryPostMessageGeneratorClient
type BerryPostMessageGeneratorServer ¶
type BerryPostMessageGeneratorServer interface { GenerateMessage(context.Context, *GenerateMessageRequest) (*GenerateMessageResponse, error) // contains filtered or unexported methods }
BerryPostMessageGeneratorServer is the server API for BerryPostMessageGenerator service. All implementations must embed UnimplementedBerryPostMessageGeneratorServer for forward compatibility
type BerryPostProtoStoreClient ¶
type BerryPostProtoStoreClient interface {
GetProto(ctx context.Context, in *GetProtoRequest, opts ...grpc.CallOption) (*GetProtoResponse, error)
}
BerryPostProtoStoreClient is the client API for BerryPostProtoStore 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 NewBerryPostProtoStoreClient ¶
func NewBerryPostProtoStoreClient(cc grpc.ClientConnInterface) BerryPostProtoStoreClient
type BerryPostProtoStoreServer ¶
type BerryPostProtoStoreServer interface { GetProto(context.Context, *GetProtoRequest) (*GetProtoResponse, error) // contains filtered or unexported methods }
BerryPostProtoStoreServer is the server API for BerryPostProtoStore service. All implementations must embed UnimplementedBerryPostProtoStoreServer for forward compatibility
type BerryPostResolverClient ¶
type BerryPostResolverClient interface {
ResolveOnce(ctx context.Context, in *ResolveOnceRequest, opts ...grpc.CallOption) (*ResolveOnceResponse, error)
}
BerryPostResolverClient is the client API for BerryPostResolver 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 NewBerryPostResolverClient ¶
func NewBerryPostResolverClient(cc grpc.ClientConnInterface) BerryPostResolverClient
type BerryPostResolverServer ¶
type BerryPostResolverServer interface { ResolveOnce(context.Context, *ResolveOnceRequest) (*ResolveOnceResponse, error) // contains filtered or unexported methods }
BerryPostResolverServer is the server API for BerryPostResolver service. All implementations must embed UnimplementedBerryPostResolverServer for forward compatibility
type GenerateMessageRequest ¶
type GenerateMessageRequest struct {
// contains filtered or unexported fields
}
func (*GenerateMessageRequest) Descriptor
deprecated
func (*GenerateMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateMessageRequest.ProtoReflect.Descriptor instead.
func (*GenerateMessageRequest) ProtoMessage ¶
func (*GenerateMessageRequest) ProtoMessage()
func (*GenerateMessageRequest) ProtoReflect ¶
func (x *GenerateMessageRequest) ProtoReflect() protoreflect.Message
func (*GenerateMessageRequest) Reset ¶
func (x *GenerateMessageRequest) Reset()
func (*GenerateMessageRequest) String ¶
func (x *GenerateMessageRequest) String() string
type GenerateMessageResponse ¶
type GenerateMessageResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GenerateMessageResponse) Descriptor
deprecated
func (*GenerateMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateMessageResponse.ProtoReflect.Descriptor instead.
func (*GenerateMessageResponse) GetData ¶
func (x *GenerateMessageResponse) GetData() []byte
func (*GenerateMessageResponse) ProtoMessage ¶
func (*GenerateMessageResponse) ProtoMessage()
func (*GenerateMessageResponse) ProtoReflect ¶
func (x *GenerateMessageResponse) ProtoReflect() protoreflect.Message
func (*GenerateMessageResponse) Reset ¶
func (x *GenerateMessageResponse) Reset()
func (*GenerateMessageResponse) String ¶
func (x *GenerateMessageResponse) String() string
type GetProtoRequest ¶
type GetProtoRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*GetProtoRequest) Descriptor
deprecated
func (*GetProtoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProtoRequest.ProtoReflect.Descriptor instead.
func (*GetProtoRequest) GetMethod ¶
func (x *GetProtoRequest) GetMethod() string
func (*GetProtoRequest) GetService ¶
func (x *GetProtoRequest) GetService() string
func (*GetProtoRequest) ProtoMessage ¶
func (*GetProtoRequest) ProtoMessage()
func (*GetProtoRequest) ProtoReflect ¶
func (x *GetProtoRequest) ProtoReflect() protoreflect.Message
func (*GetProtoRequest) Reset ¶
func (x *GetProtoRequest) Reset()
func (*GetProtoRequest) String ¶
func (x *GetProtoRequest) String() string
type GetProtoResponse ¶
type GetProtoResponse struct { Files []*ProtoFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*GetProtoResponse) Descriptor
deprecated
func (*GetProtoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProtoResponse.ProtoReflect.Descriptor instead.
func (*GetProtoResponse) GetFiles ¶
func (x *GetProtoResponse) GetFiles() []*ProtoFile
func (*GetProtoResponse) ProtoMessage ¶
func (*GetProtoResponse) ProtoMessage()
func (*GetProtoResponse) ProtoReflect ¶
func (x *GetProtoResponse) ProtoReflect() protoreflect.Message
func (*GetProtoResponse) Reset ¶
func (x *GetProtoResponse) Reset()
func (*GetProtoResponse) String ¶
func (x *GetProtoResponse) String() string
type ProtoFile ¶
type ProtoFile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ProtoFile) Descriptor
deprecated
func (*ProtoFile) GetContent ¶
func (*ProtoFile) ProtoMessage ¶
func (*ProtoFile) ProtoMessage()
func (*ProtoFile) ProtoReflect ¶
func (x *ProtoFile) ProtoReflect() protoreflect.Message
type ResolveOnceRequest ¶
type ResolveOnceRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ResolveOnceRequest) Descriptor
deprecated
func (*ResolveOnceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveOnceRequest.ProtoReflect.Descriptor instead.
func (*ResolveOnceRequest) GetName ¶
func (x *ResolveOnceRequest) GetName() string
func (*ResolveOnceRequest) ProtoMessage ¶
func (*ResolveOnceRequest) ProtoMessage()
func (*ResolveOnceRequest) ProtoReflect ¶
func (x *ResolveOnceRequest) ProtoReflect() protoreflect.Message
func (*ResolveOnceRequest) Reset ¶
func (x *ResolveOnceRequest) Reset()
func (*ResolveOnceRequest) String ¶
func (x *ResolveOnceRequest) String() string
type ResolveOnceResponse ¶
type ResolveOnceResponse struct { Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` // contains filtered or unexported fields }
func (*ResolveOnceResponse) Descriptor
deprecated
func (*ResolveOnceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveOnceResponse.ProtoReflect.Descriptor instead.
func (*ResolveOnceResponse) GetAddrs ¶
func (x *ResolveOnceResponse) GetAddrs() []string
func (*ResolveOnceResponse) ProtoMessage ¶
func (*ResolveOnceResponse) ProtoMessage()
func (*ResolveOnceResponse) ProtoReflect ¶
func (x *ResolveOnceResponse) ProtoReflect() protoreflect.Message
func (*ResolveOnceResponse) Reset ¶
func (x *ResolveOnceResponse) Reset()
func (*ResolveOnceResponse) String ¶
func (x *ResolveOnceResponse) String() string
type UnimplementedBerryPostMessageGeneratorServer ¶
type UnimplementedBerryPostMessageGeneratorServer struct { }
UnimplementedBerryPostMessageGeneratorServer must be embedded to have forward compatible implementations.
func (UnimplementedBerryPostMessageGeneratorServer) GenerateMessage ¶
func (UnimplementedBerryPostMessageGeneratorServer) GenerateMessage(context.Context, *GenerateMessageRequest) (*GenerateMessageResponse, error)
type UnimplementedBerryPostProtoStoreServer ¶
type UnimplementedBerryPostProtoStoreServer struct { }
UnimplementedBerryPostProtoStoreServer must be embedded to have forward compatible implementations.
func (UnimplementedBerryPostProtoStoreServer) GetProto ¶
func (UnimplementedBerryPostProtoStoreServer) GetProto(context.Context, *GetProtoRequest) (*GetProtoResponse, error)
type UnimplementedBerryPostResolverServer ¶
type UnimplementedBerryPostResolverServer struct { }
UnimplementedBerryPostResolverServer must be embedded to have forward compatible implementations.
func (UnimplementedBerryPostResolverServer) ResolveOnce ¶
func (UnimplementedBerryPostResolverServer) ResolveOnce(context.Context, *ResolveOnceRequest) (*ResolveOnceResponse, error)
type UnsafeBerryPostMessageGeneratorServer ¶
type UnsafeBerryPostMessageGeneratorServer interface {
// contains filtered or unexported methods
}
UnsafeBerryPostMessageGeneratorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BerryPostMessageGeneratorServer will result in compilation errors.
type UnsafeBerryPostProtoStoreServer ¶
type UnsafeBerryPostProtoStoreServer interface {
// contains filtered or unexported methods
}
UnsafeBerryPostProtoStoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BerryPostProtoStoreServer will result in compilation errors.
type UnsafeBerryPostResolverServer ¶
type UnsafeBerryPostResolverServer interface {
// contains filtered or unexported methods
}
UnsafeBerryPostResolverServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BerryPostResolverServer will result in compilation errors.