Documentation ¶
Index ¶
- Variables
- type Config
- type CreateConfigReply
- func (*CreateConfigReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConfigReply) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *CreateConfigReply) FastWrite(buf []byte) (offset int)
- func (x *CreateConfigReply) GetCode() int32
- func (*CreateConfigReply) ProtoMessage()
- func (x *CreateConfigReply) ProtoReflect() protoreflect.Message
- func (x *CreateConfigReply) Reset()
- func (x *CreateConfigReply) Size() (n int)
- func (x *CreateConfigReply) String() string
- type CreateConfigReq
- func (*CreateConfigReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConfigReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *CreateConfigReq) FastWrite(buf []byte) (offset int)
- func (x *CreateConfigReq) GetFilename() string
- func (x *CreateConfigReq) GetGroup() string
- func (x *CreateConfigReq) GetNamespace() string
- func (*CreateConfigReq) ProtoMessage()
- func (x *CreateConfigReq) ProtoReflect() protoreflect.Message
- func (x *CreateConfigReq) Reset()
- func (x *CreateConfigReq) Size() (n int)
- func (x *CreateConfigReq) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_idl_config_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
CreateConfig(ctx context.Context, req *CreateConfigReq) (res *CreateConfigReply, err error)
}
type CreateConfigReply ¶
type CreateConfigReply struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*CreateConfigReply) Descriptor
deprecated
func (*CreateConfigReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateConfigReply.ProtoReflect.Descriptor instead.
func (*CreateConfigReply) FastWrite ¶
func (x *CreateConfigReply) FastWrite(buf []byte) (offset int)
func (*CreateConfigReply) GetCode ¶
func (x *CreateConfigReply) GetCode() int32
func (*CreateConfigReply) ProtoMessage ¶
func (*CreateConfigReply) ProtoMessage()
func (*CreateConfigReply) ProtoReflect ¶
func (x *CreateConfigReply) ProtoReflect() protoreflect.Message
func (*CreateConfigReply) Reset ¶
func (x *CreateConfigReply) Reset()
func (*CreateConfigReply) Size ¶
func (x *CreateConfigReply) Size() (n int)
func (*CreateConfigReply) String ¶
func (x *CreateConfigReply) String() string
type CreateConfigReq ¶
type CreateConfigReq struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
func (*CreateConfigReq) Descriptor
deprecated
func (*CreateConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateConfigReq.ProtoReflect.Descriptor instead.
func (*CreateConfigReq) FastWrite ¶
func (x *CreateConfigReq) FastWrite(buf []byte) (offset int)
func (*CreateConfigReq) GetFilename ¶
func (x *CreateConfigReq) GetFilename() string
func (*CreateConfigReq) GetGroup ¶
func (x *CreateConfigReq) GetGroup() string
func (*CreateConfigReq) GetNamespace ¶
func (x *CreateConfigReq) GetNamespace() string
func (*CreateConfigReq) ProtoMessage ¶
func (*CreateConfigReq) ProtoMessage()
func (*CreateConfigReq) ProtoReflect ¶
func (x *CreateConfigReq) ProtoReflect() protoreflect.Message
func (*CreateConfigReq) Reset ¶
func (x *CreateConfigReq) Reset()
func (*CreateConfigReq) Size ¶
func (x *CreateConfigReq) Size() (n int)
func (*CreateConfigReq) String ¶
func (x *CreateConfigReq) String() string
Click to show internal directories.
Click to hide internal directories.