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 AutoServerOptions MethodOptions
Index ¶
- Variables
- type AutoServerOptions
- type ExtraField
- type GormFieldOptions
- type GormFileOptions
- type GormMessageOptions
- func (*GormMessageOptions) Descriptor() ([]byte, []int)
- func (m *GormMessageOptions) GetInclude() []*ExtraField
- func (m *GormMessageOptions) GetMultiAccount() bool
- func (m *GormMessageOptions) GetOrmable() bool
- func (m *GormMessageOptions) GetTable() string
- func (*GormMessageOptions) ProtoMessage()
- func (m *GormMessageOptions) Reset()
- func (m *GormMessageOptions) String() string
- type MethodOptions
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: (*MethodOptions)(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_Server = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.ServiceOptions)(nil), ExtensionType: (*AutoServerOptions)(nil), Field: 52119, Name: "gorm.server", Tag: "bytes,52119,opt,name=server", Filename: "options/gorm.proto", }
Functions ¶
This section is empty.
Types ¶
type AutoServerOptions ¶ added in v0.2.0
type AutoServerOptions struct { Autogen *bool `protobuf:"varint,1,opt,name=autogen" json:"autogen,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AutoServerOptions) Descriptor ¶ added in v0.2.0
func (*AutoServerOptions) Descriptor() ([]byte, []int)
func (*AutoServerOptions) GetAutogen ¶ added in v0.2.0
func (m *AutoServerOptions) GetAutogen() bool
func (*AutoServerOptions) ProtoMessage ¶ added in v0.2.0
func (*AutoServerOptions) ProtoMessage()
func (*AutoServerOptions) Reset ¶ added in v0.2.0
func (m *AutoServerOptions) Reset()
func (*AutoServerOptions) String ¶ added in v0.2.0
func (m *AutoServerOptions) 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"` MultiAccount *bool `protobuf:"varint,4,opt,name=multi_account,json=multiAccount" json:"multi_account,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GormMessageOptions) Descriptor ¶
func (*GormMessageOptions) Descriptor() ([]byte, []int)
func (*GormMessageOptions) GetInclude ¶
func (m *GormMessageOptions) GetInclude() []*ExtraField
func (*GormMessageOptions) GetMultiAccount ¶ added in v0.2.0
func (m *GormMessageOptions) GetMultiAccount() 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 MethodOptions ¶ added in v0.2.0
type MethodOptions struct { ObjectType *string `protobuf:"bytes,1,opt,name=object_type,json=objectType" json:"object_type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MethodOptions) Descriptor ¶ added in v0.2.0
func (*MethodOptions) Descriptor() ([]byte, []int)
func (*MethodOptions) GetObjectType ¶ added in v0.2.0
func (m *MethodOptions) GetObjectType() string
func (*MethodOptions) ProtoMessage ¶ added in v0.2.0
func (*MethodOptions) ProtoMessage()
func (*MethodOptions) Reset ¶ added in v0.2.0
func (m *MethodOptions) Reset()
func (*MethodOptions) String ¶ added in v0.2.0
func (m *MethodOptions) String() string
Click to show internal directories.
Click to hide internal directories.