Documentation ¶
Overview ¶
Package gorm is a generated protocol buffer package.
It is generated from these files:
options/gorm.proto
It has these top-level messages:
GormFileOptions GormMessageOptions ExtraField GormFieldOptions AutoServiceOptions RpcOptions
Index ¶
- Variables
- type AutoServiceOptions
- type ExtraField
- type GormFieldOptions
- type GormFileOptions
- type GormMessageOptions
- func (*GormMessageOptions) Descriptor() ([]byte, []int)
- func (m *GormMessageOptions) GetInclude() []*ExtraField
- func (m *GormMessageOptions) GetMultiTenant() bool
- func (m *GormMessageOptions) GetOrmable() bool
- func (m *GormMessageOptions) GetTable() string
- func (*GormMessageOptions) ProtoMessage()
- func (m *GormMessageOptions) Reset()
- func (m *GormMessageOptions) String() string
- type RpcOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Field = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.FieldOptions)(nil), ExtensionType: (*GormFieldOptions)(nil), Field: 52119, Name: "gorm.field", Tag: "bytes,52119,opt,name=field", Filename: "options/gorm.proto", }
View Source
var E_FileOpts = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.FileOptions)(nil), ExtensionType: (*GormFileOptions)(nil), Field: 52119, Name: "gorm.file_opts", Tag: "bytes,52119,opt,name=file_opts,json=fileOpts", Filename: "options/gorm.proto", }
View Source
var E_Method = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MethodOptions)(nil), ExtensionType: (*RpcOptions)(nil), Field: 52119, Name: "gorm.method", Tag: "bytes,52119,opt,name=method", Filename: "options/gorm.proto", }
View Source
var E_Opts = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MessageOptions)(nil), ExtensionType: (*GormMessageOptions)(nil), Field: 52119, Name: "gorm.opts", Tag: "bytes,52119,opt,name=opts", Filename: "options/gorm.proto", }
View Source
var E_Service = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.ServiceOptions)(nil), ExtensionType: (*AutoServiceOptions)(nil), Field: 52119, Name: "gorm.service", Tag: "bytes,52119,opt,name=service", Filename: "options/gorm.proto", }
Functions ¶
This section is empty.
Types ¶
type AutoServiceOptions ¶
type AutoServiceOptions struct { Autogen *bool `protobuf:"varint,1,opt,name=autogen" json:"autogen,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AutoServiceOptions) Descriptor ¶
func (*AutoServiceOptions) Descriptor() ([]byte, []int)
func (*AutoServiceOptions) GetAutogen ¶
func (m *AutoServiceOptions) GetAutogen() bool
func (*AutoServiceOptions) ProtoMessage ¶
func (*AutoServiceOptions) ProtoMessage()
func (*AutoServiceOptions) Reset ¶
func (m *AutoServiceOptions) Reset()
func (*AutoServiceOptions) String ¶
func (m *AutoServiceOptions) String() string
type ExtraField ¶
type ExtraField struct { Type *string `protobuf:"bytes,1,req,name=type" json:"type,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` Tags *string `protobuf:"bytes,3,opt,name=tags" json:"tags,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ExtraField) Descriptor ¶
func (*ExtraField) Descriptor() ([]byte, []int)
func (*ExtraField) GetName ¶
func (m *ExtraField) GetName() string
func (*ExtraField) GetTags ¶
func (m *ExtraField) GetTags() string
func (*ExtraField) GetType ¶
func (m *ExtraField) GetType() string
func (*ExtraField) ProtoMessage ¶
func (*ExtraField) ProtoMessage()
func (*ExtraField) Reset ¶
func (m *ExtraField) Reset()
func (*ExtraField) String ¶
func (m *ExtraField) String() string
type GormFieldOptions ¶
type GormFieldOptions struct { Tags *string `protobuf:"bytes,1,opt,name=tags" json:"tags,omitempty"` Drop *bool `protobuf:"varint,2,opt,name=drop" json:"drop,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GormFieldOptions) Descriptor ¶
func (*GormFieldOptions) Descriptor() ([]byte, []int)
func (*GormFieldOptions) GetDrop ¶
func (m *GormFieldOptions) GetDrop() bool
func (*GormFieldOptions) GetTags ¶
func (m *GormFieldOptions) GetTags() string
func (*GormFieldOptions) ProtoMessage ¶
func (*GormFieldOptions) ProtoMessage()
func (*GormFieldOptions) Reset ¶
func (m *GormFieldOptions) Reset()
func (*GormFieldOptions) String ¶
func (m *GormFieldOptions) String() string
type GormFileOptions ¶
type GormFileOptions struct {
XXX_unrecognized []byte `json:"-"`
}
func (*GormFileOptions) Descriptor ¶
func (*GormFileOptions) Descriptor() ([]byte, []int)
func (*GormFileOptions) ProtoMessage ¶
func (*GormFileOptions) ProtoMessage()
func (*GormFileOptions) Reset ¶
func (m *GormFileOptions) Reset()
func (*GormFileOptions) String ¶
func (m *GormFileOptions) String() string
type GormMessageOptions ¶
type GormMessageOptions struct { Ormable *bool `protobuf:"varint,1,req,name=ormable" json:"ormable,omitempty"` Include []*ExtraField `protobuf:"bytes,2,rep,name=include" json:"include,omitempty"` Table *string `protobuf:"bytes,3,opt,name=table" json:"table,omitempty"` MultiTenant *bool `protobuf:"varint,4,opt,name=multi_tenant,json=multiTenant" json:"multi_tenant,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GormMessageOptions) Descriptor ¶
func (*GormMessageOptions) Descriptor() ([]byte, []int)
func (*GormMessageOptions) GetInclude ¶
func (m *GormMessageOptions) GetInclude() []*ExtraField
func (*GormMessageOptions) GetMultiTenant ¶
func (m *GormMessageOptions) GetMultiTenant() bool
func (*GormMessageOptions) GetOrmable ¶
func (m *GormMessageOptions) GetOrmable() bool
func (*GormMessageOptions) GetTable ¶
func (m *GormMessageOptions) GetTable() string
func (*GormMessageOptions) ProtoMessage ¶
func (*GormMessageOptions) ProtoMessage()
func (*GormMessageOptions) Reset ¶
func (m *GormMessageOptions) Reset()
func (*GormMessageOptions) String ¶
func (m *GormMessageOptions) String() string
type RpcOptions ¶
type RpcOptions struct { Exclude *bool `protobuf:"varint,1,opt,name=exclude" json:"exclude,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RpcOptions) Descriptor ¶
func (*RpcOptions) Descriptor() ([]byte, []int)
func (*RpcOptions) GetExclude ¶
func (m *RpcOptions) GetExclude() bool
func (*RpcOptions) ProtoMessage ¶
func (*RpcOptions) ProtoMessage()
func (*RpcOptions) Reset ¶
func (m *RpcOptions) Reset()
func (*RpcOptions) String ¶
func (m *RpcOptions) String() string
Click to show internal directories.
Click to hide internal directories.