dict

package
v0.0.0-...-c6647e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dict_DictData_FullMethodName      = "/atreus.dict.Dict/DictData"
	Dict_DictValidHash_FullMethodName = "/atreus.dict.Dict/DictValidHash"
	Dict_Create_FullMethodName        = "/atreus.dict.Dict/Create"
	Dict_Update_FullMethodName        = "/atreus.dict.Dict/Update"
	Dict_Delete_FullMethodName        = "/atreus.dict.Dict/Delete"
	Dict_Get_FullMethodName           = "/atreus.dict.Dict/Get"
	Dict_List_FullMethodName          = "/atreus.dict.Dict/List"
)
View Source
const OperationDictCreate = "/atreus.dict.Dict/Create"
View Source
const OperationDictDelete = "/atreus.dict.Dict/Delete"
View Source
const OperationDictDictData = "/atreus.dict.Dict/DictData"
View Source
const OperationDictDictValidHash = "/atreus.dict.Dict/DictValidHash"
View Source
const OperationDictGet = "/atreus.dict.Dict/Get"
View Source
const OperationDictList = "/atreus.dict.Dict/List"
View Source
const OperationDictUpdate = "/atreus.dict.Dict/Update"

Variables

View Source
var Dict_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "atreus.dict.Dict",
	HandlerType: (*DictServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DictData",
			Handler:    _Dict_DictData_Handler,
		},
		{
			MethodName: "DictValidHash",
			Handler:    _Dict_DictValidHash_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Dict_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Dict_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Dict_Delete_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Dict_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _Dict_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/dict/dict.proto",
}

Dict_ServiceDesc is the grpc.ServiceDesc for Dict service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_dict_dict_proto protoreflect.FileDescriptor

Functions

func DefaultDeleteSysDict

func DefaultDeleteSysDict(ctx context.Context, in *SysDict, db *gorm.DB) error

func DefaultDeleteSysDictSet

func DefaultDeleteSysDictSet(ctx context.Context, in []*SysDict, db *gorm.DB) error

func RegisterDictHTTPServer

func RegisterDictHTTPServer(s *http.Server, srv DictHTTPServer)

func RegisterDictServer

func RegisterDictServer(s grpc.ServiceRegistrar, srv DictServer)

Types

type DictClient

type DictClient interface {
	DictData(ctx context.Context, in *DictDataReq, opts ...grpc.CallOption) (*DictDataResp, error)
	DictValidHash(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ValidHashResp, error)
	// 创建字典
	Create(ctx context.Context, in *SysDict, opts ...grpc.CallOption) (*SysDict, error)
	// 更新字典
	Update(ctx context.Context, in *SysDict, opts ...grpc.CallOption) (*SysDict, error)
	// 删除字典
	Delete(ctx context.Context, in *SysDict, opts ...grpc.CallOption) (*SysDict, error)
	// 获取字典
	Get(ctx context.Context, in *SysDict, opts ...grpc.CallOption) (*SysDict, error)
	// 获取字典列表
	List(ctx context.Context, in *SysDict, opts ...grpc.CallOption) (*ListSysDictResp, error)
}

DictClient is the client API for Dict 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 NewDictClient

func NewDictClient(cc grpc.ClientConnInterface) DictClient

type DictData

type DictData struct {
	DictCode string `protobuf:"bytes,1,opt,name=dictCode,proto3" json:"dictCode,omitempty"`
	HashCode string `protobuf:"bytes,2,opt,name=hashCode,proto3" json:"hashCode,omitempty"`
	// 1: 数字; 2: 字符串; 3: 布尔
	ValueType int32              `protobuf:"varint,3,opt,name=valueType,proto3" json:"valueType,omitempty"`
	DictItems []*SysDictDataItem `protobuf:"bytes,4,rep,name=dictItems,proto3" json:"dictItems,omitempty"`
	Loading   bool               `protobuf:"varint,5,opt,name=loading,proto3" json:"loading,omitempty"`
	// contains filtered or unexported fields
}

func (*DictData) Descriptor deprecated

func (*DictData) Descriptor() ([]byte, []int)

Deprecated: Use DictData.ProtoReflect.Descriptor instead.

func (*DictData) GetDictCode

func (x *DictData) GetDictCode() string

func (*DictData) GetDictItems

func (x *DictData) GetDictItems() []*SysDictDataItem

func (*DictData) GetHashCode

func (x *DictData) GetHashCode() string

func (*DictData) GetLoading

func (x *DictData) GetLoading() bool

func (*DictData) GetValueType

func (x *DictData) GetValueType() int32

func (*DictData) ProtoMessage

func (*DictData) ProtoMessage()

func (*DictData) ProtoReflect

func (x *DictData) ProtoReflect() protoreflect.Message

func (*DictData) Reset

func (x *DictData) Reset()

func (*DictData) String

func (x *DictData) String() string

type DictDataReq

type DictDataReq struct {
	DictCodes string `protobuf:"bytes,1,opt,name=dictCodes,proto3" json:"dictCodes,omitempty"`
	// contains filtered or unexported fields
}

func (*DictDataReq) Descriptor deprecated

func (*DictDataReq) Descriptor() ([]byte, []int)

Deprecated: Use DictDataReq.ProtoReflect.Descriptor instead.

func (*DictDataReq) GetDictCodes

func (x *DictDataReq) GetDictCodes() string

func (*DictDataReq) ProtoMessage

func (*DictDataReq) ProtoMessage()

func (*DictDataReq) ProtoReflect

func (x *DictDataReq) ProtoReflect() protoreflect.Message

func (*DictDataReq) Reset

func (x *DictDataReq) Reset()

func (*DictDataReq) String

func (x *DictDataReq) String() string

type DictDataResp

type DictDataResp struct {
	Results []*DictData `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*DictDataResp) Descriptor deprecated

func (*DictDataResp) Descriptor() ([]byte, []int)

Deprecated: Use DictDataResp.ProtoReflect.Descriptor instead.

func (*DictDataResp) GetResults

func (x *DictDataResp) GetResults() []*DictData

func (*DictDataResp) ProtoMessage

func (*DictDataResp) ProtoMessage()

func (*DictDataResp) ProtoReflect

func (x *DictDataResp) ProtoReflect() protoreflect.Message

func (*DictDataResp) Reset

func (x *DictDataResp) Reset()

func (*DictDataResp) String

func (x *DictDataResp) String() string

type DictDefaultServer

type DictDefaultServer struct {
	DB *gorm.DB
}

func (*DictDefaultServer) Create

func (m *DictDefaultServer) Create(ctx context.Context, in *SysDict) (*SysDict, error)

Create ...

func (*DictDefaultServer) Delete

func (m *DictDefaultServer) Delete(ctx context.Context, in *SysDict) (*SysDict, error)

Delete ...

func (*DictDefaultServer) List

List ...

func (*DictDefaultServer) Update

func (m *DictDefaultServer) Update(ctx context.Context, in *SysDict) (*SysDict, error)

Update ...

type DictHTTPClient

type DictHTTPClient interface {
	Create(ctx context.Context, req *SysDict, opts ...http.CallOption) (rsp *SysDict, err error)
	Delete(ctx context.Context, req *SysDict, opts ...http.CallOption) (rsp *SysDict, err error)
	DictData(ctx context.Context, req *DictDataReq, opts ...http.CallOption) (rsp *DictDataResp, err error)
	DictValidHash(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *ValidHashResp, err error)
	Get(ctx context.Context, req *SysDict, opts ...http.CallOption) (rsp *SysDict, err error)
	List(ctx context.Context, req *SysDict, opts ...http.CallOption) (rsp *ListSysDictResp, err error)
	Update(ctx context.Context, req *SysDict, opts ...http.CallOption) (rsp *SysDict, err error)
}

func NewDictHTTPClient

func NewDictHTTPClient(client *http.Client) DictHTTPClient

type DictHTTPClientImpl

type DictHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*DictHTTPClientImpl) Create

func (c *DictHTTPClientImpl) Create(ctx context.Context, in *SysDict, opts ...http.CallOption) (*SysDict, error)

func (*DictHTTPClientImpl) Delete

func (c *DictHTTPClientImpl) Delete(ctx context.Context, in *SysDict, opts ...http.CallOption) (*SysDict, error)

func (*DictHTTPClientImpl) DictData

func (c *DictHTTPClientImpl) DictData(ctx context.Context, in *DictDataReq, opts ...http.CallOption) (*DictDataResp, error)

func (*DictHTTPClientImpl) DictValidHash

func (c *DictHTTPClientImpl) DictValidHash(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*ValidHashResp, error)

func (*DictHTTPClientImpl) Get

func (c *DictHTTPClientImpl) Get(ctx context.Context, in *SysDict, opts ...http.CallOption) (*SysDict, error)

func (*DictHTTPClientImpl) List

func (*DictHTTPClientImpl) Update

func (c *DictHTTPClientImpl) Update(ctx context.Context, in *SysDict, opts ...http.CallOption) (*SysDict, error)

type DictHTTPServer

type DictHTTPServer interface {
	// Create 创建字典
	Create(context.Context, *SysDict) (*SysDict, error)
	// Delete 删除字典
	Delete(context.Context, *SysDict) (*SysDict, error)
	DictData(context.Context, *DictDataReq) (*DictDataResp, error)
	DictValidHash(context.Context, *emptypb.Empty) (*ValidHashResp, error)
	// Get 获取字典
	Get(context.Context, *SysDict) (*SysDict, error)
	// List 获取字典列表
	List(context.Context, *SysDict) (*ListSysDictResp, error)
	// Update 更新字典
	Update(context.Context, *SysDict) (*SysDict, error)
}

type DictImpl

type DictImpl struct {
	// contains filtered or unexported fields
}

func NewDictImpl

func NewDictImpl(conn *grpc.ClientConn) *DictImpl

func (*DictImpl) Create

func (c *DictImpl) Create(ctx context.Context, in *SysDict) (*SysDict, error)

func (*DictImpl) Delete

func (c *DictImpl) Delete(ctx context.Context, in *SysDict) (*SysDict, error)

func (*DictImpl) DictData

func (c *DictImpl) DictData(ctx context.Context, in *DictDataReq) (*DictDataResp, error)

func (*DictImpl) DictValidHash

func (c *DictImpl) DictValidHash(ctx context.Context, in *emptypb.Empty) (*ValidHashResp, error)

func (*DictImpl) Get

func (c *DictImpl) Get(ctx context.Context, in *SysDict) (*SysDict, error)

func (*DictImpl) List

func (c *DictImpl) List(ctx context.Context, in *SysDict) (*ListSysDictResp, error)

func (*DictImpl) Update

func (c *DictImpl) Update(ctx context.Context, in *SysDict) (*SysDict, error)

type DictServer

type DictServer interface {
	DictData(context.Context, *DictDataReq) (*DictDataResp, error)
	DictValidHash(context.Context, *emptypb.Empty) (*ValidHashResp, error)
	// 创建字典
	Create(context.Context, *SysDict) (*SysDict, error)
	// 更新字典
	Update(context.Context, *SysDict) (*SysDict, error)
	// 删除字典
	Delete(context.Context, *SysDict) (*SysDict, error)
	// 获取字典
	Get(context.Context, *SysDict) (*SysDict, error)
	// 获取字典列表
	List(context.Context, *SysDict) (*ListSysDictResp, error)
}

DictServer is the server API for Dict service. All implementations should embed UnimplementedDictServer for forward compatibility

type DictSysDictWithAfterCreate

type DictSysDictWithAfterCreate interface {
	AfterCreate(context.Context, *SysDict, *gorm.DB) error
}

DictSysDictWithAfterCreate called before DefaultCreateSysDict in the default Create handler

type DictSysDictWithAfterList

type DictSysDictWithAfterList interface {
	AfterList(context.Context, *ListSysDictResp, *gorm.DB) error
}

DictSysDictWithAfterList called before DefaultListSysDict in the default List handler

type DictSysDictWithAfterUpdate

type DictSysDictWithAfterUpdate interface {
	AfterUpdate(context.Context, *SysDict, *gorm.DB) error
}

DictSysDictWithAfterUpdate called before DefaultUpdateSysDict in the default Update handler

type DictSysDictWithBeforeCreate

type DictSysDictWithBeforeCreate interface {
	BeforeCreate(context.Context, *gorm.DB) (*gorm.DB, error)
}

DictSysDictWithBeforeCreate called before DefaultCreateSysDict in the default Create handler

type DictSysDictWithBeforeList

type DictSysDictWithBeforeList interface {
	BeforeList(context.Context, *gorm.DB) (*gorm.DB, error)
}

DictSysDictWithBeforeList called before DefaultListSysDict in the default List handler

type DictSysDictWithBeforeUpdate

type DictSysDictWithBeforeUpdate interface {
	BeforeUpdate(context.Context, *gorm.DB) (*gorm.DB, error)
}

DictSysDictWithBeforeUpdate called before DefaultUpdateSysDict in the default Update handler

type ListSysDictResp

type ListSysDictResp struct {
	Results []*SysDict `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSysDictResp) Descriptor deprecated

func (*ListSysDictResp) Descriptor() ([]byte, []int)

Deprecated: Use ListSysDictResp.ProtoReflect.Descriptor instead.

func (*ListSysDictResp) GetResults

func (x *ListSysDictResp) GetResults() []*SysDict

func (*ListSysDictResp) ProtoMessage

func (*ListSysDictResp) ProtoMessage()

func (*ListSysDictResp) ProtoReflect

func (x *ListSysDictResp) ProtoReflect() protoreflect.Message

func (*ListSysDictResp) Reset

func (x *ListSysDictResp) Reset()

func (*ListSysDictResp) String

func (x *ListSysDictResp) String() string

type SysDict

type SysDict struct {

	// *
	// 编号
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// *
	// 标识
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// *
	// 名称
	Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	// *
	// Hash值
	HashCode string `protobuf:"bytes,4,opt,name=hashCode,proto3" json:"hashCode,omitempty"`
	// *
	// 备注
	Remarks string `protobuf:"bytes,5,opt,name=remarks,proto3" json:"remarks,omitempty"`
	// *
	// 状态,1:启用 0:禁用
	Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	// *
	// 数据类型,1:int32 2:String 3:Boolean
	ValueType int32 `protobuf:"varint,7,opt,name=valueType,proto3" json:"valueType,omitempty"`
	// *
	// 逻辑删除标识,已删除:0,未删除:删除时间戳
	Deleted string `protobuf:"bytes,8,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// *
	// 创建时间
	CreatedAt string `protobuf:"bytes,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// *
	// 更新时间
	UpdatedAt string `protobuf:"bytes,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func DefaultApplyFieldMaskSysDict

func DefaultApplyFieldMaskSysDict(ctx context.Context, patchee *SysDict, patcher *SysDict, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*SysDict, error)

DefaultApplyFieldMaskSysDict patches an pbObject with patcher according to a field mask.

func DefaultCreateSysDict

func DefaultCreateSysDict(ctx context.Context, in *SysDict, db *gorm.DB) (*SysDict, error)

DefaultCreateSysDict executes a basic gorm create call

func DefaultListSysDict

func DefaultListSysDict(ctx context.Context, db *gorm.DB) ([]*SysDict, error)

DefaultListSysDict executes a gorm list call

func DefaultPatchSetSysDict

func DefaultPatchSetSysDict(ctx context.Context, objects []*SysDict, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*SysDict, error)

DefaultPatchSetSysDict executes a bulk gorm update call with patch behavior

func DefaultPatchSysDict

func DefaultPatchSysDict(ctx context.Context, in *SysDict, updateMask *field_mask.FieldMask, db *gorm.DB) (*SysDict, error)

DefaultPatchSysDict executes a basic gorm update call with patch behavior

func DefaultReadSysDict

func DefaultReadSysDict(ctx context.Context, in *SysDict, db *gorm.DB) (*SysDict, error)

func DefaultStrictUpdateSysDict

func DefaultStrictUpdateSysDict(ctx context.Context, in *SysDict, db *gorm.DB) (*SysDict, error)

DefaultStrictUpdateSysDict clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*SysDict) Descriptor deprecated

func (*SysDict) Descriptor() ([]byte, []int)

Deprecated: Use SysDict.ProtoReflect.Descriptor instead.

func (*SysDict) GetCode

func (x *SysDict) GetCode() string

func (*SysDict) GetCreatedAt

func (x *SysDict) GetCreatedAt() string

func (*SysDict) GetDeleted

func (x *SysDict) GetDeleted() string

func (*SysDict) GetHashCode

func (x *SysDict) GetHashCode() string

func (*SysDict) GetId

func (x *SysDict) GetId() int32

func (*SysDict) GetRemarks

func (x *SysDict) GetRemarks() string

func (*SysDict) GetStatus

func (x *SysDict) GetStatus() int32

func (*SysDict) GetTitle

func (x *SysDict) GetTitle() string

func (*SysDict) GetUpdatedAt

func (x *SysDict) GetUpdatedAt() string

func (*SysDict) GetValueType

func (x *SysDict) GetValueType() int32

func (*SysDict) ProtoMessage

func (*SysDict) ProtoMessage()

func (*SysDict) ProtoReflect

func (x *SysDict) ProtoReflect() protoreflect.Message

func (*SysDict) Reset

func (x *SysDict) Reset()

func (*SysDict) String

func (x *SysDict) String() string

func (*SysDict) ToORM

func (m *SysDict) ToORM(ctx context.Context) (SysDictORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

type SysDictDataItem

type SysDictDataItem struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 文本值
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 数据值
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// 附加属性值
	Attributes *SysDictItemAttributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// 真实数据
	RealVal []byte `protobuf:"bytes,5,opt,name=realVal,proto3" json:"realVal,omitempty"`
	// contains filtered or unexported fields
}

func (*SysDictDataItem) Descriptor deprecated

func (*SysDictDataItem) Descriptor() ([]byte, []int)

Deprecated: Use SysDictDataItem.ProtoReflect.Descriptor instead.

func (*SysDictDataItem) GetAttributes

func (x *SysDictDataItem) GetAttributes() *SysDictItemAttributes

func (*SysDictDataItem) GetId

func (x *SysDictDataItem) GetId() int32

func (*SysDictDataItem) GetName

func (x *SysDictDataItem) GetName() string

func (*SysDictDataItem) GetRealVal

func (x *SysDictDataItem) GetRealVal() []byte

func (*SysDictDataItem) GetValue

func (x *SysDictDataItem) GetValue() string

func (*SysDictDataItem) ProtoMessage

func (*SysDictDataItem) ProtoMessage()

func (*SysDictDataItem) ProtoReflect

func (x *SysDictDataItem) ProtoReflect() protoreflect.Message

func (*SysDictDataItem) Reset

func (x *SysDictDataItem) Reset()

func (*SysDictDataItem) String

func (x *SysDictDataItem) String() string

type SysDictItemAttributes

type SysDictItemAttributes struct {
	TagColor  string `protobuf:"bytes,1,opt,name=tagColor,proto3" json:"tagColor,omitempty"`
	TextColor string `protobuf:"bytes,2,opt,name=textColor,proto3" json:"textColor,omitempty"`
	// contains filtered or unexported fields
}

func (*SysDictItemAttributes) Descriptor deprecated

func (*SysDictItemAttributes) Descriptor() ([]byte, []int)

Deprecated: Use SysDictItemAttributes.ProtoReflect.Descriptor instead.

func (*SysDictItemAttributes) GetTagColor

func (x *SysDictItemAttributes) GetTagColor() string

func (*SysDictItemAttributes) GetTextColor

func (x *SysDictItemAttributes) GetTextColor() string

func (*SysDictItemAttributes) ProtoMessage

func (*SysDictItemAttributes) ProtoMessage()

func (*SysDictItemAttributes) ProtoReflect

func (x *SysDictItemAttributes) ProtoReflect() protoreflect.Message

func (*SysDictItemAttributes) Reset

func (x *SysDictItemAttributes) Reset()

func (*SysDictItemAttributes) String

func (x *SysDictItemAttributes) String() string

type SysDictORM

type SysDictORM struct {
	Code      string
	CreatedAt string
	Deleted   string
	HashCode  string
	Id        int32 `gorm:"primaryKey;autoIncrement"`
	Remarks   string
	Status    int32
	Title     string
	UpdatedAt string
	ValueType int32
}

func (SysDictORM) TableName

func (SysDictORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*SysDictORM) ToPB

func (m *SysDictORM) ToPB(ctx context.Context) (SysDict, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type SysDictORMWithAfterCreate_

type SysDictORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type SysDictORMWithAfterDeleteSet

type SysDictORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*SysDict, *gorm.DB) error
}

type SysDictORMWithAfterDelete_

type SysDictORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type SysDictORMWithAfterListFind

type SysDictORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]SysDictORM) error
}

type SysDictORMWithAfterReadFind

type SysDictORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type SysDictORMWithAfterStrictUpdateSave

type SysDictORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type SysDictORMWithBeforeCreate_

type SysDictORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB, SysDictORM) (SysDictORM, *gorm.DB, error)
}

type SysDictORMWithBeforeDeleteSet

type SysDictORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*SysDict, *gorm.DB) (*gorm.DB, error)
}

type SysDictORMWithBeforeDelete_

type SysDictORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB, SysDictORM) (SysDictORM, *gorm.DB, error)
}

type SysDictORMWithBeforeListApplyQuery

type SysDictORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type SysDictORMWithBeforeListFind

type SysDictORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type SysDictORMWithBeforeReadApplyQuery

type SysDictORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type SysDictORMWithBeforeReadFind

type SysDictORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type SysDictORMWithBeforeStrictUpdateCleanup

type SysDictORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB, SysDictORM) (SysDictORM, *gorm.DB, error)
}

type SysDictORMWithBeforeStrictUpdateSave

type SysDictORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB, SysDictORM) (SysDictORM, *gorm.DB, error)
}

type SysDictWithAfterPatchSave

type SysDictWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *SysDict, *field_mask.FieldMask, *gorm.DB) error
}

type SysDictWithAfterToORM

type SysDictWithAfterToORM interface {
	AfterToORM(context.Context, *SysDictORM) error
}

SysDictAfterToORM called after default ToORM code

type SysDictWithAfterToPB

type SysDictWithAfterToPB interface {
	AfterToPB(context.Context, *SysDict) error
}

SysDictAfterToPB called after default ToPB code

type SysDictWithBeforePatchApplyFieldMask

type SysDictWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *SysDict, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type SysDictWithBeforePatchRead

type SysDictWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *SysDict, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type SysDictWithBeforePatchSave

type SysDictWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *SysDict, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type SysDictWithBeforeToORM

type SysDictWithBeforeToORM interface {
	BeforeToORM(context.Context, *SysDictORM) error
}

SysDictBeforeToORM called before default ToORM code

type SysDictWithBeforeToPB

type SysDictWithBeforeToPB interface {
	BeforeToPB(context.Context, *SysDict) error
}

SysDictBeforeToPB called before default ToPB code

type UnimplementedDictServer

type UnimplementedDictServer struct {
}

UnimplementedDictServer should be embedded to have forward compatible implementations.

func (UnimplementedDictServer) Create

func (UnimplementedDictServer) Delete

func (UnimplementedDictServer) DictData

func (UnimplementedDictServer) DictValidHash

func (UnimplementedDictServer) Get

func (UnimplementedDictServer) List

func (UnimplementedDictServer) Update

type UnsafeDictServer

type UnsafeDictServer interface {
	// contains filtered or unexported methods
}

UnsafeDictServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DictServer will result in compilation errors.

type ValidHashResp

type ValidHashResp struct {
	Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidHashResp) Descriptor deprecated

func (*ValidHashResp) Descriptor() ([]byte, []int)

Deprecated: Use ValidHashResp.ProtoReflect.Descriptor instead.

func (*ValidHashResp) GetResults

func (x *ValidHashResp) GetResults() []string

func (*ValidHashResp) ProtoMessage

func (*ValidHashResp) ProtoMessage()

func (*ValidHashResp) ProtoReflect

func (x *ValidHashResp) ProtoReflect() protoreflect.Message

func (*ValidHashResp) Reset

func (x *ValidHashResp) Reset()

func (*ValidHashResp) String

func (x *ValidHashResp) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL