Documentation ¶
Index ¶
Constants ¶
const (
Schema_GetSchema_FullMethodName = "/sage.v1.Schema/GetSchema"
)
Variables ¶
var File_sage_v1_schema_proto protoreflect.FileDescriptor
var Schema_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sage.v1.Schema", HandlerType: (*SchemaServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSchema", Handler: _Schema_GetSchema_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sage/v1/schema.proto", }
Schema_ServiceDesc is the grpc.ServiceDesc for Schema service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSchemaServer ¶
func RegisterSchemaServer(s grpc.ServiceRegistrar, srv SchemaServer)
Types ¶
type GetSchemaReply ¶
type GetSchemaReply struct {
// contains filtered or unexported fields
}
func (*GetSchemaReply) Descriptor
deprecated
func (*GetSchemaReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaReply.ProtoReflect.Descriptor instead.
func (*GetSchemaReply) ProtoMessage ¶
func (*GetSchemaReply) ProtoMessage()
func (*GetSchemaReply) ProtoReflect ¶
func (x *GetSchemaReply) ProtoReflect() protoreflect.Message
func (*GetSchemaReply) Reset ¶
func (x *GetSchemaReply) Reset()
func (*GetSchemaReply) String ¶
func (x *GetSchemaReply) String() string
type GetSchemaRequest ¶
type GetSchemaRequest struct {
// contains filtered or unexported fields
}
func (*GetSchemaRequest) Descriptor
deprecated
func (*GetSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaRequest) ProtoMessage ¶
func (*GetSchemaRequest) ProtoMessage()
func (*GetSchemaRequest) ProtoReflect ¶
func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message
func (*GetSchemaRequest) Reset ¶
func (x *GetSchemaRequest) Reset()
func (*GetSchemaRequest) String ¶
func (x *GetSchemaRequest) String() string
type SchemaClient ¶
type SchemaClient interface {
GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaReply, error)
}
SchemaClient is the client API for Schema 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 NewSchemaClient ¶
func NewSchemaClient(cc grpc.ClientConnInterface) SchemaClient
type SchemaServer ¶
type SchemaServer interface { GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaReply, error) // contains filtered or unexported methods }
SchemaServer is the server API for Schema service. All implementations must embed UnimplementedSchemaServer for forward compatibility
type UnimplementedSchemaServer ¶
type UnimplementedSchemaServer struct { }
UnimplementedSchemaServer must be embedded to have forward compatible implementations.
func (UnimplementedSchemaServer) GetSchema ¶
func (UnimplementedSchemaServer) GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaReply, error)
type UnsafeSchemaServer ¶
type UnsafeSchemaServer interface {
// contains filtered or unexported methods
}
UnsafeSchemaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SchemaServer will result in compilation errors.