Documentation ¶
Index ¶
- Variables
- type ExtraField
- func (*ExtraField) Descriptor() ([]byte, []int)
- func (m *ExtraField) GetName() string
- func (m *ExtraField) GetTags() string
- func (m *ExtraField) GetType() string
- func (*ExtraField) ProtoMessage()
- func (m *ExtraField) Reset()
- func (m *ExtraField) String() string
- func (m *ExtraField) XXX_DiscardUnknown()
- func (m *ExtraField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ExtraField) XXX_Merge(src proto.Message)
- func (m *ExtraField) XXX_Size() int
- func (m *ExtraField) XXX_Unmarshal(b []byte) error
- type SqlxFieldOptions
- func (*SqlxFieldOptions) Descriptor() ([]byte, []int)
- func (m *SqlxFieldOptions) GetColname() string
- func (m *SqlxFieldOptions) GetCustomname() string
- func (m *SqlxFieldOptions) GetDrop() bool
- func (m *SqlxFieldOptions) GetFk() string
- func (m *SqlxFieldOptions) GetName() string
- func (m *SqlxFieldOptions) GetPk() bool
- func (m *SqlxFieldOptions) GetTags() string
- func (m *SqlxFieldOptions) GetType() string
- func (*SqlxFieldOptions) ProtoMessage()
- func (m *SqlxFieldOptions) Reset()
- func (m *SqlxFieldOptions) String() string
- func (m *SqlxFieldOptions) XXX_DiscardUnknown()
- func (m *SqlxFieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SqlxFieldOptions) XXX_Merge(src proto.Message)
- func (m *SqlxFieldOptions) XXX_Size() int
- func (m *SqlxFieldOptions) XXX_Unmarshal(b []byte) error
- type SqlxMessageOptions
- func (*SqlxMessageOptions) Descriptor() ([]byte, []int)
- func (m *SqlxMessageOptions) GetDriver() string
- func (m *SqlxMessageOptions) GetGorm() bool
- func (m *SqlxMessageOptions) GetInclude() []*ExtraField
- func (m *SqlxMessageOptions) GetJsonb() bool
- func (m *SqlxMessageOptions) GetOrm() bool
- func (m *SqlxMessageOptions) GetProduct() bool
- func (m *SqlxMessageOptions) GetRequest() string
- func (m *SqlxMessageOptions) GetTable() string
- func (m *SqlxMessageOptions) GetUser() bool
- func (*SqlxMessageOptions) ProtoMessage()
- func (m *SqlxMessageOptions) Reset()
- func (m *SqlxMessageOptions) String() string
- func (m *SqlxMessageOptions) XXX_DiscardUnknown()
- func (m *SqlxMessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SqlxMessageOptions) XXX_Merge(src proto.Message)
- func (m *SqlxMessageOptions) XXX_Size() int
- func (m *SqlxMessageOptions) XXX_Unmarshal(b []byte) error
- type SqlxMethodOptions
- func (*SqlxMethodOptions) Descriptor() ([]byte, []int)
- func (m *SqlxMethodOptions) GetJsonb() bool
- func (*SqlxMethodOptions) ProtoMessage()
- func (m *SqlxMethodOptions) Reset()
- func (m *SqlxMethodOptions) String() string
- func (m *SqlxMethodOptions) XXX_DiscardUnknown()
- func (m *SqlxMethodOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SqlxMethodOptions) XXX_Merge(src proto.Message)
- func (m *SqlxMethodOptions) XXX_Size() int
- func (m *SqlxMethodOptions) XXX_Unmarshal(b []byte) error
- type SqlxServiceOptions
- func (*SqlxServiceOptions) Descriptor() ([]byte, []int)
- func (m *SqlxServiceOptions) GetAutogen() bool
- func (*SqlxServiceOptions) ProtoMessage()
- func (m *SqlxServiceOptions) Reset()
- func (m *SqlxServiceOptions) String() string
- func (m *SqlxServiceOptions) XXX_DiscardUnknown()
- func (m *SqlxServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SqlxServiceOptions) XXX_Merge(src proto.Message)
- func (m *SqlxServiceOptions) XXX_Size() int
- func (m *SqlxServiceOptions) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Field = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*SqlxFieldOptions)(nil), Field: 99902, Name: "sql.field", Tag: "bytes,99902,opt,name=field", Filename: "pb/sql/sql.proto", }
View Source
var E_Method = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*SqlxMethodOptions)(nil), Field: 99904, Name: "sql.method", Tag: "bytes,99904,opt,name=method", Filename: "pb/sql/sql.proto", }
View Source
var E_Opts = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*SqlxMessageOptions)(nil), Field: 99901, Name: "sql.opts", Tag: "bytes,99901,opt,name=opts", Filename: "pb/sql/sql.proto", }
View Source
var E_Server = &proto.ExtensionDesc{ ExtendedType: (*descriptor.ServiceOptions)(nil), ExtensionType: (*SqlxServiceOptions)(nil), Field: 99903, Name: "sql.server", Tag: "bytes,99903,opt,name=server", Filename: "pb/sql/sql.proto", }
Functions ¶
This section is empty.
Types ¶
type ExtraField ¶
type ExtraField struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tags string `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `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
func (*ExtraField) XXX_DiscardUnknown ¶
func (m *ExtraField) XXX_DiscardUnknown()
func (*ExtraField) XXX_Marshal ¶
func (m *ExtraField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtraField) XXX_Merge ¶
func (dst *ExtraField) XXX_Merge(src proto.Message)
func (*ExtraField) XXX_Size ¶
func (m *ExtraField) XXX_Size() int
func (*ExtraField) XXX_Unmarshal ¶
func (m *ExtraField) XXX_Unmarshal(b []byte) error
type SqlxFieldOptions ¶
type SqlxFieldOptions struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Colname string `protobuf:"bytes,2,opt,name=colname,proto3" json:"colname,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Tags string `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"` Drop bool `protobuf:"varint,5,opt,name=drop,proto3" json:"drop,omitempty"` Pk bool `protobuf:"varint,6,opt,name=pk,proto3" json:"pk,omitempty"` Fk string `protobuf:"bytes,7,opt,name=fk,proto3" json:"fk,omitempty"` Customname string `protobuf:"bytes,8,opt,name=customname,proto3" json:"customname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlxFieldOptions) Descriptor ¶
func (*SqlxFieldOptions) Descriptor() ([]byte, []int)
func (*SqlxFieldOptions) GetColname ¶
func (m *SqlxFieldOptions) GetColname() string
func (*SqlxFieldOptions) GetCustomname ¶
func (m *SqlxFieldOptions) GetCustomname() string
func (*SqlxFieldOptions) GetDrop ¶
func (m *SqlxFieldOptions) GetDrop() bool
func (*SqlxFieldOptions) GetFk ¶
func (m *SqlxFieldOptions) GetFk() string
func (*SqlxFieldOptions) GetName ¶
func (m *SqlxFieldOptions) GetName() string
func (*SqlxFieldOptions) GetPk ¶
func (m *SqlxFieldOptions) GetPk() bool
func (*SqlxFieldOptions) GetTags ¶
func (m *SqlxFieldOptions) GetTags() string
func (*SqlxFieldOptions) GetType ¶
func (m *SqlxFieldOptions) GetType() string
func (*SqlxFieldOptions) ProtoMessage ¶
func (*SqlxFieldOptions) ProtoMessage()
func (*SqlxFieldOptions) Reset ¶
func (m *SqlxFieldOptions) Reset()
func (*SqlxFieldOptions) String ¶
func (m *SqlxFieldOptions) String() string
func (*SqlxFieldOptions) XXX_DiscardUnknown ¶
func (m *SqlxFieldOptions) XXX_DiscardUnknown()
func (*SqlxFieldOptions) XXX_Marshal ¶
func (m *SqlxFieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlxFieldOptions) XXX_Merge ¶
func (dst *SqlxFieldOptions) XXX_Merge(src proto.Message)
func (*SqlxFieldOptions) XXX_Size ¶
func (m *SqlxFieldOptions) XXX_Size() int
func (*SqlxFieldOptions) XXX_Unmarshal ¶
func (m *SqlxFieldOptions) XXX_Unmarshal(b []byte) error
type SqlxMessageOptions ¶
type SqlxMessageOptions struct { Orm bool `protobuf:"varint,1,opt,name=orm,proto3" json:"orm,omitempty"` Jsonb bool `protobuf:"varint,2,opt,name=jsonb,proto3" json:"jsonb,omitempty"` Gorm bool `protobuf:"varint,3,opt,name=gorm,proto3" json:"gorm,omitempty"` Table string `protobuf:"bytes,4,opt,name=table,proto3" json:"table,omitempty"` Driver string `protobuf:"bytes,5,opt,name=driver,proto3" json:"driver,omitempty"` Include []*ExtraField `protobuf:"bytes,6,rep,name=include" json:"include,omitempty"` Request string `protobuf:"bytes,7,opt,name=request,proto3" json:"request,omitempty"` User bool `protobuf:"varint,8,opt,name=user,proto3" json:"user,omitempty"` Product bool `protobuf:"varint,9,opt,name=product,proto3" json:"product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlxMessageOptions) Descriptor ¶
func (*SqlxMessageOptions) Descriptor() ([]byte, []int)
func (*SqlxMessageOptions) GetDriver ¶
func (m *SqlxMessageOptions) GetDriver() string
func (*SqlxMessageOptions) GetGorm ¶
func (m *SqlxMessageOptions) GetGorm() bool
func (*SqlxMessageOptions) GetInclude ¶
func (m *SqlxMessageOptions) GetInclude() []*ExtraField
func (*SqlxMessageOptions) GetJsonb ¶
func (m *SqlxMessageOptions) GetJsonb() bool
func (*SqlxMessageOptions) GetOrm ¶
func (m *SqlxMessageOptions) GetOrm() bool
func (*SqlxMessageOptions) GetProduct ¶
func (m *SqlxMessageOptions) GetProduct() bool
func (*SqlxMessageOptions) GetRequest ¶
func (m *SqlxMessageOptions) GetRequest() string
func (*SqlxMessageOptions) GetTable ¶
func (m *SqlxMessageOptions) GetTable() string
func (*SqlxMessageOptions) GetUser ¶
func (m *SqlxMessageOptions) GetUser() bool
func (*SqlxMessageOptions) ProtoMessage ¶
func (*SqlxMessageOptions) ProtoMessage()
func (*SqlxMessageOptions) Reset ¶
func (m *SqlxMessageOptions) Reset()
func (*SqlxMessageOptions) String ¶
func (m *SqlxMessageOptions) String() string
func (*SqlxMessageOptions) XXX_DiscardUnknown ¶
func (m *SqlxMessageOptions) XXX_DiscardUnknown()
func (*SqlxMessageOptions) XXX_Marshal ¶
func (m *SqlxMessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlxMessageOptions) XXX_Merge ¶
func (dst *SqlxMessageOptions) XXX_Merge(src proto.Message)
func (*SqlxMessageOptions) XXX_Size ¶
func (m *SqlxMessageOptions) XXX_Size() int
func (*SqlxMessageOptions) XXX_Unmarshal ¶
func (m *SqlxMessageOptions) XXX_Unmarshal(b []byte) error
type SqlxMethodOptions ¶
type SqlxMethodOptions struct { Jsonb bool `protobuf:"varint,1,opt,name=jsonb,proto3" json:"jsonb,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlxMethodOptions) Descriptor ¶
func (*SqlxMethodOptions) Descriptor() ([]byte, []int)
func (*SqlxMethodOptions) GetJsonb ¶
func (m *SqlxMethodOptions) GetJsonb() bool
func (*SqlxMethodOptions) ProtoMessage ¶
func (*SqlxMethodOptions) ProtoMessage()
func (*SqlxMethodOptions) Reset ¶
func (m *SqlxMethodOptions) Reset()
func (*SqlxMethodOptions) String ¶
func (m *SqlxMethodOptions) String() string
func (*SqlxMethodOptions) XXX_DiscardUnknown ¶
func (m *SqlxMethodOptions) XXX_DiscardUnknown()
func (*SqlxMethodOptions) XXX_Marshal ¶
func (m *SqlxMethodOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlxMethodOptions) XXX_Merge ¶
func (dst *SqlxMethodOptions) XXX_Merge(src proto.Message)
func (*SqlxMethodOptions) XXX_Size ¶
func (m *SqlxMethodOptions) XXX_Size() int
func (*SqlxMethodOptions) XXX_Unmarshal ¶
func (m *SqlxMethodOptions) XXX_Unmarshal(b []byte) error
type SqlxServiceOptions ¶
type SqlxServiceOptions struct { Autogen bool `protobuf:"varint,1,opt,name=autogen,proto3" json:"autogen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SqlxServiceOptions) Descriptor ¶
func (*SqlxServiceOptions) Descriptor() ([]byte, []int)
func (*SqlxServiceOptions) GetAutogen ¶
func (m *SqlxServiceOptions) GetAutogen() bool
func (*SqlxServiceOptions) ProtoMessage ¶
func (*SqlxServiceOptions) ProtoMessage()
func (*SqlxServiceOptions) Reset ¶
func (m *SqlxServiceOptions) Reset()
func (*SqlxServiceOptions) String ¶
func (m *SqlxServiceOptions) String() string
func (*SqlxServiceOptions) XXX_DiscardUnknown ¶
func (m *SqlxServiceOptions) XXX_DiscardUnknown()
func (*SqlxServiceOptions) XXX_Marshal ¶
func (m *SqlxServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SqlxServiceOptions) XXX_Merge ¶
func (dst *SqlxServiceOptions) XXX_Merge(src proto.Message)
func (*SqlxServiceOptions) XXX_Size ¶
func (m *SqlxServiceOptions) XXX_Size() int
func (*SqlxServiceOptions) XXX_Unmarshal ¶
func (m *SqlxServiceOptions) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.