Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_v1_wait_proto protoreflect.FileDescriptor
Functions ¶
func RegisterWaitServer ¶
func RegisterWaitServer(s *grpc.Server, srv WaitServer)
Types ¶
type UnimplementedWaitServer ¶
type UnimplementedWaitServer struct {
}
UnimplementedWaitServer can be embedded to have forward compatible implementations.
func (*UnimplementedWaitServer) Wait ¶
func (*UnimplementedWaitServer) Wait(*WaitRequest, Wait_WaitServer) error
type WaitClient ¶
type WaitClient interface {
Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (Wait_WaitClient, error)
}
WaitClient is the client API for Wait service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWaitClient ¶
func NewWaitClient(cc grpc.ClientConnInterface) WaitClient
type WaitRequest ¶
type WaitRequest struct {
MachineID string `protobuf:"bytes,1,opt,name=machineID,proto3" json:"machineID,omitempty"`
// contains filtered or unexported fields
}
func (*WaitRequest) Descriptor
deprecated
func (*WaitRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitRequest.ProtoReflect.Descriptor instead.
func (*WaitRequest) GetMachineID ¶
func (x *WaitRequest) GetMachineID() string
func (*WaitRequest) ProtoMessage ¶
func (*WaitRequest) ProtoMessage()
func (*WaitRequest) ProtoReflect ¶
func (x *WaitRequest) ProtoReflect() protoreflect.Message
func (*WaitRequest) Reset ¶
func (x *WaitRequest) Reset()
func (*WaitRequest) String ¶
func (x *WaitRequest) String() string
type WaitResponse ¶
type WaitResponse struct {
// contains filtered or unexported fields
}
func (*WaitResponse) Descriptor
deprecated
func (*WaitResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitResponse.ProtoReflect.Descriptor instead.
func (*WaitResponse) ProtoMessage ¶
func (*WaitResponse) ProtoMessage()
func (*WaitResponse) ProtoReflect ¶
func (x *WaitResponse) ProtoReflect() protoreflect.Message
func (*WaitResponse) Reset ¶
func (x *WaitResponse) Reset()
func (*WaitResponse) String ¶
func (x *WaitResponse) String() string
type WaitServer ¶
type WaitServer interface {
Wait(*WaitRequest, Wait_WaitServer) error
}
WaitServer is the server API for Wait service.
type Wait_WaitClient ¶
type Wait_WaitClient interface {
Recv() (*WaitResponse, error)
grpc.ClientStream
}
type Wait_WaitServer ¶
type Wait_WaitServer interface {
Send(*WaitResponse) error
grpc.ServerStream
}
Click to show internal directories.
Click to hide internal directories.