v1

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: AGPL-3.0 Imports: 9 Imported by: 7

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 KeepPatientResponse added in v0.8.2

type KeepPatientResponse struct {
	// contains filtered or unexported fields
}

func (*KeepPatientResponse) Descriptor deprecated added in v0.8.2

func (*KeepPatientResponse) Descriptor() ([]byte, []int)

Deprecated: Use KeepPatientResponse.ProtoReflect.Descriptor instead.

func (*KeepPatientResponse) ProtoMessage added in v0.8.2

func (*KeepPatientResponse) ProtoMessage()

func (*KeepPatientResponse) ProtoReflect added in v0.8.2

func (x *KeepPatientResponse) ProtoReflect() protoreflect.Message

func (*KeepPatientResponse) Reset added in v0.8.2

func (x *KeepPatientResponse) Reset()

func (*KeepPatientResponse) String added in v0.8.2

func (x *KeepPatientResponse) String() string

type UnimplementedWaitServer

type UnimplementedWaitServer struct {
}

UnimplementedWaitServer can be embedded to have forward compatible implementations.

func (*UnimplementedWaitServer) Wait

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 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() (*KeepPatientResponse, error)
	grpc.ClientStream
}

type Wait_WaitServer

type Wait_WaitServer interface {
	Send(*KeepPatientResponse) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL