Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRealtimeConfigsServiceServer(s grpc.ServiceRegistrar, srv RealtimeConfigsServiceServer)
- type GetValueRequest
- func (*GetValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueRequest) GetKey() string
- func (x *GetValueRequest) GetServiceName() string
- func (*GetValueRequest) ProtoMessage()
- func (x *GetValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetValueRequest) Reset()
- func (x *GetValueRequest) String() string
- type GetValueResponse
- type RealtimeConfigsServiceClient
- type RealtimeConfigsServiceServer
- type SetValueRequest
- func (*SetValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetValueRequest) GetKey() string
- func (x *SetValueRequest) GetServiceName() string
- func (x *SetValueRequest) GetValue() string
- func (*SetValueRequest) ProtoMessage()
- func (x *SetValueRequest) ProtoReflect() protoreflect.Message
- func (x *SetValueRequest) Reset()
- func (x *SetValueRequest) String() string
- type SetValueResponse
- type UnimplementedRealtimeConfigsServiceServer
- type UnsafeRealtimeConfigsServiceServer
Constants ¶
const ( RealtimeConfigsService_GetValue_FullMethodName = "/realtime_configs_service.RealtimeConfigsService/GetValue" RealtimeConfigsService_SetValue_FullMethodName = "/realtime_configs_service.RealtimeConfigsService/SetValue" )
Variables ¶
var File_api_realtime_configs_service_realtime_configs_service_proto protoreflect.FileDescriptor
var RealtimeConfigsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "realtime_configs_service.RealtimeConfigsService", HandlerType: (*RealtimeConfigsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetValue", Handler: _RealtimeConfigsService_GetValue_Handler, }, { MethodName: "SetValue", Handler: _RealtimeConfigsService_SetValue_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/realtime-configs-service/realtime-configs-service.proto", }
RealtimeConfigsService_ServiceDesc is the grpc.ServiceDesc for RealtimeConfigsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRealtimeConfigsServiceServer ¶
func RegisterRealtimeConfigsServiceServer(s grpc.ServiceRegistrar, srv RealtimeConfigsServiceServer)
Types ¶
type GetValueRequest ¶
type GetValueRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // contains filtered or unexported fields }
func (*GetValueRequest) Descriptor
deprecated
func (*GetValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead.
func (*GetValueRequest) GetKey ¶
func (x *GetValueRequest) GetKey() string
func (*GetValueRequest) GetServiceName ¶
func (x *GetValueRequest) GetServiceName() string
func (*GetValueRequest) ProtoMessage ¶
func (*GetValueRequest) ProtoMessage()
func (*GetValueRequest) ProtoReflect ¶
func (x *GetValueRequest) ProtoReflect() protoreflect.Message
func (*GetValueRequest) Reset ¶
func (x *GetValueRequest) Reset()
func (*GetValueRequest) String ¶
func (x *GetValueRequest) String() string
type GetValueResponse ¶
type GetValueResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GetValueResponse) Descriptor
deprecated
func (*GetValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.
func (*GetValueResponse) GetValue ¶
func (x *GetValueResponse) GetValue() string
func (*GetValueResponse) ProtoMessage ¶
func (*GetValueResponse) ProtoMessage()
func (*GetValueResponse) ProtoReflect ¶
func (x *GetValueResponse) ProtoReflect() protoreflect.Message
func (*GetValueResponse) Reset ¶
func (x *GetValueResponse) Reset()
func (*GetValueResponse) String ¶
func (x *GetValueResponse) String() string
type RealtimeConfigsServiceClient ¶
type RealtimeConfigsServiceClient interface { GetValue(ctx context.Context, in *GetValueRequest, opts ...grpc.CallOption) (*GetValueResponse, error) SetValue(ctx context.Context, in *SetValueRequest, opts ...grpc.CallOption) (*SetValueResponse, error) }
RealtimeConfigsServiceClient is the client API for RealtimeConfigsService 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 NewRealtimeConfigsServiceClient ¶
func NewRealtimeConfigsServiceClient(cc grpc.ClientConnInterface) RealtimeConfigsServiceClient
type RealtimeConfigsServiceServer ¶
type RealtimeConfigsServiceServer interface { GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error) SetValue(context.Context, *SetValueRequest) (*SetValueResponse, error) // contains filtered or unexported methods }
RealtimeConfigsServiceServer is the server API for RealtimeConfigsService service. All implementations must embed UnimplementedRealtimeConfigsServiceServer for forward compatibility
type SetValueRequest ¶
type SetValueRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // contains filtered or unexported fields }
func (*SetValueRequest) Descriptor
deprecated
func (*SetValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetValueRequest.ProtoReflect.Descriptor instead.
func (*SetValueRequest) GetKey ¶
func (x *SetValueRequest) GetKey() string
func (*SetValueRequest) GetServiceName ¶
func (x *SetValueRequest) GetServiceName() string
func (*SetValueRequest) GetValue ¶
func (x *SetValueRequest) GetValue() string
func (*SetValueRequest) ProtoMessage ¶
func (*SetValueRequest) ProtoMessage()
func (*SetValueRequest) ProtoReflect ¶
func (x *SetValueRequest) ProtoReflect() protoreflect.Message
func (*SetValueRequest) Reset ¶
func (x *SetValueRequest) Reset()
func (*SetValueRequest) String ¶
func (x *SetValueRequest) String() string
type SetValueResponse ¶
type SetValueResponse struct {
// contains filtered or unexported fields
}
func (*SetValueResponse) Descriptor
deprecated
func (*SetValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetValueResponse.ProtoReflect.Descriptor instead.
func (*SetValueResponse) ProtoMessage ¶
func (*SetValueResponse) ProtoMessage()
func (*SetValueResponse) ProtoReflect ¶
func (x *SetValueResponse) ProtoReflect() protoreflect.Message
func (*SetValueResponse) Reset ¶
func (x *SetValueResponse) Reset()
func (*SetValueResponse) String ¶
func (x *SetValueResponse) String() string
type UnimplementedRealtimeConfigsServiceServer ¶
type UnimplementedRealtimeConfigsServiceServer struct { }
UnimplementedRealtimeConfigsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRealtimeConfigsServiceServer) GetValue ¶
func (UnimplementedRealtimeConfigsServiceServer) GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error)
func (UnimplementedRealtimeConfigsServiceServer) SetValue ¶
func (UnimplementedRealtimeConfigsServiceServer) SetValue(context.Context, *SetValueRequest) (*SetValueResponse, error)
type UnsafeRealtimeConfigsServiceServer ¶
type UnsafeRealtimeConfigsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRealtimeConfigsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RealtimeConfigsServiceServer will result in compilation errors.