Documentation ¶
Index ¶
Constants ¶
const (
Timedscheduler_Ping_FullMethodName = "/timedscheduler.timedscheduler/ping"
)
Variables ¶
var File_proto_timedscheduler_proto protoreflect.FileDescriptor
var Timedscheduler_ServiceDesc = grpc.ServiceDesc{ ServiceName: "timedscheduler.timedscheduler", HandlerType: (*TimedschedulerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ping", Handler: _Timedscheduler_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/timedscheduler.proto", }
Timedscheduler_ServiceDesc is the grpc.ServiceDesc for Timedscheduler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTimedschedulerServer ¶
func RegisterTimedschedulerServer(s grpc.ServiceRegistrar, srv TimedschedulerServer)
Types ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type TimedschedulerClient ¶
type TimedschedulerClient interface {
Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}
TimedschedulerClient is the client API for Timedscheduler 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 NewTimedschedulerClient ¶
func NewTimedschedulerClient(cc grpc.ClientConnInterface) TimedschedulerClient
type TimedschedulerServer ¶
type TimedschedulerServer interface { Ping(context.Context, *Empty) (*Empty, error) // contains filtered or unexported methods }
TimedschedulerServer is the server API for Timedscheduler service. All implementations must embed UnimplementedTimedschedulerServer for forward compatibility
type UnimplementedTimedschedulerServer ¶
type UnimplementedTimedschedulerServer struct { }
UnimplementedTimedschedulerServer must be embedded to have forward compatible implementations.
type UnsafeTimedschedulerServer ¶
type UnsafeTimedschedulerServer interface {
// contains filtered or unexported methods
}
UnsafeTimedschedulerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TimedschedulerServer will result in compilation errors.