Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + var File_grpcapi_location_proto protoreflect.FileDescriptor + var Location_ServiceDesc = grpc.ServiceDesc + func RegisterLocationServer(s grpc.ServiceRegistrar, srv LocationServer) + type LocationClient interface + GetLocation func(ctx context.Context, in *LocationRequest, opts ...grpc.CallOption) (*LocationResponse, error) + func NewLocationClient(cc grpc.ClientConnInterface) LocationClient + type LocationRequest struct + ClientIp string + func (*LocationRequest) Descriptor() ([]byte, []int) + func (*LocationRequest) ProtoMessage() + func (x *LocationRequest) GetClientIp() string + func (x *LocationRequest) ProtoReflect() protoreflect.Message + func (x *LocationRequest) Reset() + func (x *LocationRequest) String() string + type LocationResponse struct + Campus string + Region string + Zone string + func (*LocationResponse) Descriptor() ([]byte, []int) + func (*LocationResponse) ProtoMessage() + func (x *LocationResponse) GetCampus() string + func (x *LocationResponse) GetRegion() string + func (x *LocationResponse) GetZone() string + func (x *LocationResponse) ProtoReflect() protoreflect.Message + func (x *LocationResponse) Reset() + func (x *LocationResponse) String() string + type LocationServer interface + GetLocation func(context.Context, *LocationRequest) (*LocationResponse, error) + type UnimplementedLocationServer struct + func (UnimplementedLocationServer) GetLocation(context.Context, *LocationRequest) (*LocationResponse, error) + type UnsafeLocationServer interface