Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional rerost.giro.v1.HostOptions host_option = 50000;
E_HostOption = &file_rerost_giro_hosts_proto_extTypes[0]
)
Extension fields to descriptor.ServiceOptions.
View Source
var File_rerost_giro_hosts_proto protoreflect.FileDescriptor
Functions ¶
func RegisterHostServiceServer ¶
func RegisterHostServiceServer(s *grpc.Server, srv HostServiceServer)
Types ¶
type GetHostRequest ¶
type GetHostRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // contains filtered or unexported fields }
func (*GetHostRequest) Descriptor
deprecated
func (*GetHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHostRequest.ProtoReflect.Descriptor instead.
func (*GetHostRequest) GetServiceName ¶
func (x *GetHostRequest) GetServiceName() string
func (*GetHostRequest) ProtoMessage ¶
func (*GetHostRequest) ProtoMessage()
func (*GetHostRequest) ProtoReflect ¶
func (x *GetHostRequest) ProtoReflect() protoreflect.Message
func (*GetHostRequest) Reset ¶
func (x *GetHostRequest) Reset()
func (*GetHostRequest) String ¶
func (x *GetHostRequest) String() string
type GetHostResponse ¶
type GetHostResponse struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*GetHostResponse) Descriptor
deprecated
func (*GetHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHostResponse.ProtoReflect.Descriptor instead.
func (*GetHostResponse) GetHost ¶
func (x *GetHostResponse) GetHost() string
func (*GetHostResponse) ProtoMessage ¶
func (*GetHostResponse) ProtoMessage()
func (*GetHostResponse) ProtoReflect ¶
func (x *GetHostResponse) ProtoReflect() protoreflect.Message
func (*GetHostResponse) Reset ¶
func (x *GetHostResponse) Reset()
func (*GetHostResponse) String ¶
func (x *GetHostResponse) String() string
type HostOptions ¶
type HostOptions struct { Host string `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*HostOptions) Descriptor
deprecated
func (*HostOptions) Descriptor() ([]byte, []int)
Deprecated: Use HostOptions.ProtoReflect.Descriptor instead.
func (*HostOptions) GetHost ¶
func (x *HostOptions) GetHost() string
func (*HostOptions) ProtoMessage ¶
func (*HostOptions) ProtoMessage()
func (*HostOptions) ProtoReflect ¶
func (x *HostOptions) ProtoReflect() protoreflect.Message
func (*HostOptions) Reset ¶
func (x *HostOptions) Reset()
func (*HostOptions) String ¶
func (x *HostOptions) String() string
type HostServiceClient ¶
type HostServiceClient interface {
GetHost(ctx context.Context, in *GetHostRequest, opts ...grpc.CallOption) (*GetHostResponse, error)
}
HostServiceClient is the client API for HostService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHostServiceClient ¶
func NewHostServiceClient(cc grpc.ClientConnInterface) HostServiceClient
type HostServiceServer ¶
type HostServiceServer interface {
GetHost(context.Context, *GetHostRequest) (*GetHostResponse, error)
}
HostServiceServer is the server API for HostService service.
type UnimplementedHostServiceServer ¶
type UnimplementedHostServiceServer struct { }
UnimplementedHostServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHostServiceServer) GetHost ¶
func (*UnimplementedHostServiceServer) GetHost(context.Context, *GetHostRequest) (*GetHostResponse, error)
Click to show internal directories.
Click to hide internal directories.