Documentation ¶
Index ¶
- Variables
- func RegisterSettingsServiceServer(s grpc.ServiceRegistrar, srv SettingsServiceServer)
- type GetSettingsRequest
- func (m *GetSettingsRequest) CloneMessageVT() proto.Message
- func (m *GetSettingsRequest) CloneVT() *GetSettingsRequest
- func (*GetSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *GetSettingsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetSettingsRequest) EqualVT(that *GetSettingsRequest) bool
- func (m *GetSettingsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSettingsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSettingsRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetSettingsRequest) ProtoMessage()
- func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSettingsRequest) Reset()
- func (m *GetSettingsRequest) SizeVT() (n int)
- func (x *GetSettingsRequest) String() string
- func (m *GetSettingsRequest) UnmarshalVT(dAtA []byte) error
- type GetSettingsResponse
- func (m *GetSettingsResponse) CloneMessageVT() proto.Message
- func (m *GetSettingsResponse) CloneVT() *GetSettingsResponse
- func (*GetSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *GetSettingsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetSettingsResponse) EqualVT(that *GetSettingsResponse) bool
- func (x *GetSettingsResponse) GetSettings() []*Setting
- func (m *GetSettingsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSettingsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSettingsResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetSettingsResponse) ProtoMessage()
- func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSettingsResponse) Reset()
- func (m *GetSettingsResponse) SizeVT() (n int)
- func (x *GetSettingsResponse) String() string
- func (m *GetSettingsResponse) UnmarshalVT(dAtA []byte) error
- type SetSettingsRequest
- func (m *SetSettingsRequest) CloneMessageVT() proto.Message
- func (m *SetSettingsRequest) CloneVT() *SetSettingsRequest
- func (*SetSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *SetSettingsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetSettingsRequest) EqualVT(that *SetSettingsRequest) bool
- func (x *SetSettingsRequest) GetSetting() *Setting
- func (m *SetSettingsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetSettingsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetSettingsRequest) MarshalVT() (dAtA []byte, err error)
- func (*SetSettingsRequest) ProtoMessage()
- func (x *SetSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *SetSettingsRequest) Reset()
- func (m *SetSettingsRequest) SizeVT() (n int)
- func (x *SetSettingsRequest) String() string
- func (m *SetSettingsRequest) UnmarshalVT(dAtA []byte) error
- type SetSettingsResponse
- func (m *SetSettingsResponse) CloneMessageVT() proto.Message
- func (m *SetSettingsResponse) CloneVT() *SetSettingsResponse
- func (*SetSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *SetSettingsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SetSettingsResponse) EqualVT(that *SetSettingsResponse) bool
- func (x *SetSettingsResponse) GetSetting() *Setting
- func (m *SetSettingsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetSettingsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetSettingsResponse) MarshalVT() (dAtA []byte, err error)
- func (*SetSettingsResponse) ProtoMessage()
- func (x *SetSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *SetSettingsResponse) Reset()
- func (m *SetSettingsResponse) SizeVT() (n int)
- func (x *SetSettingsResponse) String() string
- func (m *SetSettingsResponse) UnmarshalVT(dAtA []byte) error
- type Setting
- func (m *Setting) CloneMessageVT() proto.Message
- func (m *Setting) CloneVT() *Setting
- func (*Setting) Descriptor() ([]byte, []int)deprecated
- func (this *Setting) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Setting) EqualVT(that *Setting) bool
- func (x *Setting) GetModifiedAt() int64
- func (x *Setting) GetName() string
- func (x *Setting) GetValue() string
- func (m *Setting) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Setting) MarshalToVT(dAtA []byte) (int, error)
- func (m *Setting) MarshalVT() (dAtA []byte, err error)
- func (*Setting) ProtoMessage()
- func (x *Setting) ProtoReflect() protoreflect.Message
- func (x *Setting) Reset()
- func (m *Setting) SizeVT() (n int)
- func (x *Setting) String() string
- func (m *Setting) UnmarshalVT(dAtA []byte) error
- type SettingsServiceClient
- type SettingsServiceServer
- type UnimplementedSettingsServiceServer
- type UnsafeSettingsServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_settings_v1_setting_proto protoreflect.FileDescriptor
var SettingsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "settings.v1.SettingsService", HandlerType: (*SettingsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _SettingsService_Get_Handler, }, { MethodName: "Set", Handler: _SettingsService_Set_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "settings/v1/setting.proto", }
SettingsService_ServiceDesc is the grpc.ServiceDesc for SettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSettingsServiceServer ¶
func RegisterSettingsServiceServer(s grpc.ServiceRegistrar, srv SettingsServiceServer)
Types ¶
type GetSettingsRequest ¶
type GetSettingsRequest struct {
// contains filtered or unexported fields
}
func (*GetSettingsRequest) CloneMessageVT ¶
func (m *GetSettingsRequest) CloneMessageVT() proto.Message
func (*GetSettingsRequest) CloneVT ¶
func (m *GetSettingsRequest) CloneVT() *GetSettingsRequest
func (*GetSettingsRequest) Descriptor
deprecated
func (*GetSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetSettingsRequest) EqualMessageVT ¶
func (this *GetSettingsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*GetSettingsRequest) EqualVT ¶
func (this *GetSettingsRequest) EqualVT(that *GetSettingsRequest) bool
func (*GetSettingsRequest) MarshalToSizedBufferVT ¶
func (m *GetSettingsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSettingsRequest) MarshalToVT ¶
func (m *GetSettingsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetSettingsRequest) MarshalVT ¶
func (m *GetSettingsRequest) MarshalVT() (dAtA []byte, err error)
func (*GetSettingsRequest) ProtoMessage ¶
func (*GetSettingsRequest) ProtoMessage()
func (*GetSettingsRequest) ProtoReflect ¶
func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetSettingsRequest) Reset ¶
func (x *GetSettingsRequest) Reset()
func (*GetSettingsRequest) SizeVT ¶
func (m *GetSettingsRequest) SizeVT() (n int)
func (*GetSettingsRequest) String ¶
func (x *GetSettingsRequest) String() string
func (*GetSettingsRequest) UnmarshalVT ¶
func (m *GetSettingsRequest) UnmarshalVT(dAtA []byte) error
type GetSettingsResponse ¶
type GetSettingsResponse struct { Settings []*Setting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*GetSettingsResponse) CloneMessageVT ¶
func (m *GetSettingsResponse) CloneMessageVT() proto.Message
func (*GetSettingsResponse) CloneVT ¶
func (m *GetSettingsResponse) CloneVT() *GetSettingsResponse
func (*GetSettingsResponse) Descriptor
deprecated
func (*GetSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetSettingsResponse) EqualMessageVT ¶
func (this *GetSettingsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*GetSettingsResponse) EqualVT ¶
func (this *GetSettingsResponse) EqualVT(that *GetSettingsResponse) bool
func (*GetSettingsResponse) GetSettings ¶
func (x *GetSettingsResponse) GetSettings() []*Setting
func (*GetSettingsResponse) MarshalToSizedBufferVT ¶
func (m *GetSettingsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSettingsResponse) MarshalToVT ¶
func (m *GetSettingsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetSettingsResponse) MarshalVT ¶
func (m *GetSettingsResponse) MarshalVT() (dAtA []byte, err error)
func (*GetSettingsResponse) ProtoMessage ¶
func (*GetSettingsResponse) ProtoMessage()
func (*GetSettingsResponse) ProtoReflect ¶
func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetSettingsResponse) Reset ¶
func (x *GetSettingsResponse) Reset()
func (*GetSettingsResponse) SizeVT ¶
func (m *GetSettingsResponse) SizeVT() (n int)
func (*GetSettingsResponse) String ¶
func (x *GetSettingsResponse) String() string
func (*GetSettingsResponse) UnmarshalVT ¶
func (m *GetSettingsResponse) UnmarshalVT(dAtA []byte) error
type SetSettingsRequest ¶
type SetSettingsRequest struct { Setting *Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*SetSettingsRequest) CloneMessageVT ¶
func (m *SetSettingsRequest) CloneMessageVT() proto.Message
func (*SetSettingsRequest) CloneVT ¶
func (m *SetSettingsRequest) CloneVT() *SetSettingsRequest
func (*SetSettingsRequest) Descriptor
deprecated
func (*SetSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSettingsRequest.ProtoReflect.Descriptor instead.
func (*SetSettingsRequest) EqualMessageVT ¶
func (this *SetSettingsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*SetSettingsRequest) EqualVT ¶
func (this *SetSettingsRequest) EqualVT(that *SetSettingsRequest) bool
func (*SetSettingsRequest) GetSetting ¶
func (x *SetSettingsRequest) GetSetting() *Setting
func (*SetSettingsRequest) MarshalToSizedBufferVT ¶
func (m *SetSettingsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetSettingsRequest) MarshalToVT ¶
func (m *SetSettingsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SetSettingsRequest) MarshalVT ¶
func (m *SetSettingsRequest) MarshalVT() (dAtA []byte, err error)
func (*SetSettingsRequest) ProtoMessage ¶
func (*SetSettingsRequest) ProtoMessage()
func (*SetSettingsRequest) ProtoReflect ¶
func (x *SetSettingsRequest) ProtoReflect() protoreflect.Message
func (*SetSettingsRequest) Reset ¶
func (x *SetSettingsRequest) Reset()
func (*SetSettingsRequest) SizeVT ¶
func (m *SetSettingsRequest) SizeVT() (n int)
func (*SetSettingsRequest) String ¶
func (x *SetSettingsRequest) String() string
func (*SetSettingsRequest) UnmarshalVT ¶
func (m *SetSettingsRequest) UnmarshalVT(dAtA []byte) error
type SetSettingsResponse ¶
type SetSettingsResponse struct { Setting *Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*SetSettingsResponse) CloneMessageVT ¶
func (m *SetSettingsResponse) CloneMessageVT() proto.Message
func (*SetSettingsResponse) CloneVT ¶
func (m *SetSettingsResponse) CloneVT() *SetSettingsResponse
func (*SetSettingsResponse) Descriptor
deprecated
func (*SetSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSettingsResponse.ProtoReflect.Descriptor instead.
func (*SetSettingsResponse) EqualMessageVT ¶
func (this *SetSettingsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*SetSettingsResponse) EqualVT ¶
func (this *SetSettingsResponse) EqualVT(that *SetSettingsResponse) bool
func (*SetSettingsResponse) GetSetting ¶
func (x *SetSettingsResponse) GetSetting() *Setting
func (*SetSettingsResponse) MarshalToSizedBufferVT ¶
func (m *SetSettingsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetSettingsResponse) MarshalToVT ¶
func (m *SetSettingsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SetSettingsResponse) MarshalVT ¶
func (m *SetSettingsResponse) MarshalVT() (dAtA []byte, err error)
func (*SetSettingsResponse) ProtoMessage ¶
func (*SetSettingsResponse) ProtoMessage()
func (*SetSettingsResponse) ProtoReflect ¶
func (x *SetSettingsResponse) ProtoReflect() protoreflect.Message
func (*SetSettingsResponse) Reset ¶
func (x *SetSettingsResponse) Reset()
func (*SetSettingsResponse) SizeVT ¶
func (m *SetSettingsResponse) SizeVT() (n int)
func (*SetSettingsResponse) String ¶
func (x *SetSettingsResponse) String() string
func (*SetSettingsResponse) UnmarshalVT ¶
func (m *SetSettingsResponse) UnmarshalVT(dAtA []byte) error
type Setting ¶
type Setting struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` ModifiedAt int64 `protobuf:"varint,3,opt,name=modifiedAt,proto3" json:"modifiedAt,omitempty"` // contains filtered or unexported fields }
func (*Setting) CloneMessageVT ¶
func (*Setting) Descriptor
deprecated
func (*Setting) GetModifiedAt ¶
func (*Setting) MarshalToSizedBufferVT ¶
func (*Setting) ProtoMessage ¶
func (*Setting) ProtoMessage()
func (*Setting) ProtoReflect ¶
func (x *Setting) ProtoReflect() protoreflect.Message
func (*Setting) UnmarshalVT ¶
type SettingsServiceClient ¶
type SettingsServiceClient interface { Get(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*GetSettingsResponse, error) Set(ctx context.Context, in *SetSettingsRequest, opts ...grpc.CallOption) (*SetSettingsResponse, error) }
SettingsServiceClient is the client API for SettingsService 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 NewSettingsServiceClient ¶
func NewSettingsServiceClient(cc grpc.ClientConnInterface) SettingsServiceClient
type SettingsServiceServer ¶
type SettingsServiceServer interface { Get(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error) Set(context.Context, *SetSettingsRequest) (*SetSettingsResponse, error) // contains filtered or unexported methods }
SettingsServiceServer is the server API for SettingsService service. All implementations must embed UnimplementedSettingsServiceServer for forward compatibility
type UnimplementedSettingsServiceServer ¶
type UnimplementedSettingsServiceServer struct { }
UnimplementedSettingsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSettingsServiceServer) Get ¶
func (UnimplementedSettingsServiceServer) Get(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
func (UnimplementedSettingsServiceServer) Set ¶
func (UnimplementedSettingsServiceServer) Set(context.Context, *SetSettingsRequest) (*SetSettingsResponse, error)
type UnsafeSettingsServiceServer ¶
type UnsafeSettingsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SettingsServiceServer will result in compilation errors.