Documentation ¶
Index ¶
- Constants
- Variables
- type Account
- func (m *Account) ColAccountID() *builder.Column
- func (m *Account) ColAvatar() *builder.Column
- func (m *Account) ColCreatedAt() *builder.Column
- func (m *Account) ColDeletedAt() *builder.Column
- func (*Account) ColDesc() map[string][]string
- func (m *Account) ColID() *builder.Column
- func (m *Account) ColMeta() *builder.Column
- func (m *Account) ColOperatorPrivateKey() *builder.Column
- func (*Account) ColRel() map[string][]string
- func (m *Account) ColRole() *builder.Column
- func (m *Account) ColState() *builder.Column
- func (m *Account) ColUpdatedAt() *builder.Column
- func (*Account) Comments() map[string]string
- func (m *Account) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Account) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Account) Create(db sqlx.DBExecutor) error
- func (m *Account) Delete(db sqlx.DBExecutor) error
- func (m *Account) DeleteByAccountID(db sqlx.DBExecutor) error
- func (m *Account) DeleteByID(db sqlx.DBExecutor) error
- func (m *Account) FetchByAccountID(db sqlx.DBExecutor) error
- func (m *Account) FetchByID(db sqlx.DBExecutor) error
- func (*Account) FieldAccountID() string
- func (*Account) FieldAvatar() string
- func (*Account) FieldCreatedAt() string
- func (*Account) FieldDeletedAt() string
- func (*Account) FieldID() string
- func (*Account) FieldMeta() string
- func (*Account) FieldOperatorPrivateKey() string
- func (*Account) FieldRole() string
- func (*Account) FieldState() string
- func (*Account) FieldUpdatedAt() string
- func (m *Account) IndexFieldNames() []string
- func (m *Account) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Account, error)
- func (*Account) PrimaryKey() []string
- func (m *Account) SoftDeleteByAccountID(db sqlx.DBExecutor) error
- func (m *Account) SoftDeleteByID(db sqlx.DBExecutor) error
- func (*Account) TableDesc() []string
- func (*Account) TableName() string
- func (*Account) UniqueIndexUIAccountID() string
- func (*Account) UniqueIndexes() builder.Indexes
- func (m *Account) UpdateByAccountID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Account) UpdateByAccountIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Account) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Account) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type AccountAccessKey
- func (m *AccountAccessKey) ColAccessKey() *builder.Column
- func (m *AccountAccessKey) ColAccountID() *builder.Column
- func (m *AccountAccessKey) ColCreatedAt() *builder.Column
- func (m *AccountAccessKey) ColDeletedAt() *builder.Column
- func (*AccountAccessKey) ColDesc() map[string][]string
- func (m *AccountAccessKey) ColDescription() *builder.Column
- func (m *AccountAccessKey) ColExpiredAt() *builder.Column
- func (m *AccountAccessKey) ColID() *builder.Column
- func (m *AccountAccessKey) ColName() *builder.Column
- func (*AccountAccessKey) ColRel() map[string][]string
- func (m *AccountAccessKey) ColUpdatedAt() *builder.Column
- func (*AccountAccessKey) Comments() map[string]string
- func (m *AccountAccessKey) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *AccountAccessKey) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *AccountAccessKey) Create(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) Delete(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) DeleteByAccessKey(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) DeleteByAccountIDAndName(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) DeleteByID(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) FetchByAccessKey(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) FetchByAccountIDAndName(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) FetchByID(db sqlx.DBExecutor) error
- func (*AccountAccessKey) FieldAccessKey() string
- func (*AccountAccessKey) FieldAccountID() string
- func (*AccountAccessKey) FieldCreatedAt() string
- func (*AccountAccessKey) FieldDeletedAt() string
- func (*AccountAccessKey) FieldDescription() string
- func (*AccountAccessKey) FieldExpiredAt() string
- func (*AccountAccessKey) FieldID() string
- func (*AccountAccessKey) FieldName() string
- func (*AccountAccessKey) FieldUpdatedAt() string
- func (m *AccountAccessKey) IndexFieldNames() []string
- func (m *AccountAccessKey) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]AccountAccessKey, error)
- func (*AccountAccessKey) PrimaryKey() []string
- func (m *AccountAccessKey) SoftDeleteByAccessKey(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) SoftDeleteByAccountIDAndName(db sqlx.DBExecutor) error
- func (m *AccountAccessKey) SoftDeleteByID(db sqlx.DBExecutor) error
- func (*AccountAccessKey) TableDesc() []string
- func (*AccountAccessKey) TableName() string
- func (*AccountAccessKey) UniqueIndexUIAccessKey() string
- func (*AccountAccessKey) UniqueIndexUIAccountKeyName() string
- func (*AccountAccessKey) UniqueIndexes() builder.Indexes
- func (m *AccountAccessKey) UpdateByAccessKey(db sqlx.DBExecutor, zeros ...string) error
- func (m *AccountAccessKey) UpdateByAccessKeyWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *AccountAccessKey) UpdateByAccountIDAndName(db sqlx.DBExecutor, zeros ...string) error
- func (m *AccountAccessKey) UpdateByAccountIDAndNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *AccountAccessKey) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *AccountAccessKey) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type AccountAccessKeyInfo
- type AccountAccessKeyIterator
- type AccountIdentity
- func (m *AccountIdentity) ColAccountID() *builder.Column
- func (m *AccountIdentity) ColCreatedAt() *builder.Column
- func (m *AccountIdentity) ColDeletedAt() *builder.Column
- func (*AccountIdentity) ColDesc() map[string][]string
- func (m *AccountIdentity) ColID() *builder.Column
- func (m *AccountIdentity) ColIdentityID() *builder.Column
- func (m *AccountIdentity) ColMeta() *builder.Column
- func (*AccountIdentity) ColRel() map[string][]string
- func (m *AccountIdentity) ColSource() *builder.Column
- func (m *AccountIdentity) ColType() *builder.Column
- func (m *AccountIdentity) ColUpdatedAt() *builder.Column
- func (*AccountIdentity) Comments() map[string]string
- func (m *AccountIdentity) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *AccountIdentity) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *AccountIdentity) Create(db sqlx.DBExecutor) error
- func (m *AccountIdentity) Delete(db sqlx.DBExecutor) error
- func (m *AccountIdentity) DeleteByAccountIDAndType(db sqlx.DBExecutor) error
- func (m *AccountIdentity) DeleteByID(db sqlx.DBExecutor) error
- func (m *AccountIdentity) DeleteByTypeAndIdentityID(db sqlx.DBExecutor) error
- func (m *AccountIdentity) FetchByAccountIDAndType(db sqlx.DBExecutor) error
- func (m *AccountIdentity) FetchByID(db sqlx.DBExecutor) error
- func (m *AccountIdentity) FetchByTypeAndIdentityID(db sqlx.DBExecutor) error
- func (*AccountIdentity) FieldAccountID() string
- func (*AccountIdentity) FieldCreatedAt() string
- func (*AccountIdentity) FieldDeletedAt() string
- func (*AccountIdentity) FieldID() string
- func (*AccountIdentity) FieldIdentityID() string
- func (*AccountIdentity) FieldMeta() string
- func (*AccountIdentity) FieldSource() string
- func (*AccountIdentity) FieldType() string
- func (*AccountIdentity) FieldUpdatedAt() string
- func (m *AccountIdentity) IndexFieldNames() []string
- func (*AccountIdentity) Indexes() builder.Indexes
- func (m *AccountIdentity) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]AccountIdentity, error)
- func (*AccountIdentity) PrimaryKey() []string
- func (m *AccountIdentity) SoftDeleteByAccountIDAndType(db sqlx.DBExecutor) error
- func (m *AccountIdentity) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *AccountIdentity) SoftDeleteByTypeAndIdentityID(db sqlx.DBExecutor) error
- func (*AccountIdentity) TableDesc() []string
- func (*AccountIdentity) TableName() string
- func (*AccountIdentity) UniqueIndexUIAccountIdentity() string
- func (*AccountIdentity) UniqueIndexUIIdentityID() string
- func (*AccountIdentity) UniqueIndexes() builder.Indexes
- func (m *AccountIdentity) UpdateByAccountIDAndType(db sqlx.DBExecutor, zeros ...string) error
- func (m *AccountIdentity) UpdateByAccountIDAndTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *AccountIdentity) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *AccountIdentity) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *AccountIdentity) UpdateByTypeAndIdentityID(db sqlx.DBExecutor, zeros ...string) error
- func (m *AccountIdentity) UpdateByTypeAndIdentityIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type AccountIdentityInfo
- type AccountIdentityIterator
- type AccountInfo
- type AccountIterator
- type AccountPassword
- func (m *AccountPassword) ColAccountID() *builder.Column
- func (m *AccountPassword) ColCreatedAt() *builder.Column
- func (m *AccountPassword) ColDeletedAt() *builder.Column
- func (*AccountPassword) ColDesc() map[string][]string
- func (m *AccountPassword) ColPassword() *builder.Column
- func (m *AccountPassword) ColPasswordID() *builder.Column
- func (*AccountPassword) ColRel() map[string][]string
- func (m *AccountPassword) ColRemark() *builder.Column
- func (m *AccountPassword) ColScope() *builder.Column
- func (m *AccountPassword) ColType() *builder.Column
- func (m *AccountPassword) ColUpdatedAt() *builder.Column
- func (*AccountPassword) Comments() map[string]string
- func (m *AccountPassword) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *AccountPassword) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *AccountPassword) Create(db sqlx.DBExecutor) error
- func (m *AccountPassword) Delete(db sqlx.DBExecutor) error
- func (m *AccountPassword) DeleteByAccountIDAndType(db sqlx.DBExecutor) error
- func (m *AccountPassword) DeleteByPasswordID(db sqlx.DBExecutor) error
- func (m *AccountPassword) FetchByAccountIDAndType(db sqlx.DBExecutor) error
- func (m *AccountPassword) FetchByPasswordID(db sqlx.DBExecutor) error
- func (*AccountPassword) FieldAccountID() string
- func (*AccountPassword) FieldCreatedAt() string
- func (*AccountPassword) FieldDeletedAt() string
- func (*AccountPassword) FieldPassword() string
- func (*AccountPassword) FieldPasswordID() string
- func (*AccountPassword) FieldRemark() string
- func (*AccountPassword) FieldScope() string
- func (*AccountPassword) FieldType() string
- func (*AccountPassword) FieldUpdatedAt() string
- func (m *AccountPassword) IndexFieldNames() []string
- func (m *AccountPassword) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]AccountPassword, error)
- func (*AccountPassword) PrimaryKey() []string
- func (m *AccountPassword) SoftDeleteByAccountIDAndType(db sqlx.DBExecutor) error
- func (m *AccountPassword) SoftDeleteByPasswordID(db sqlx.DBExecutor) error
- func (*AccountPassword) TableDesc() []string
- func (*AccountPassword) TableName() string
- func (*AccountPassword) UniqueIndexUIAccountPassword() string
- func (*AccountPassword) UniqueIndexes() builder.Indexes
- func (m *AccountPassword) UpdateByAccountIDAndType(db sqlx.DBExecutor, zeros ...string) error
- func (m *AccountPassword) UpdateByAccountIDAndTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *AccountPassword) UpdateByPasswordID(db sqlx.DBExecutor, zeros ...string) error
- func (m *AccountPassword) UpdateByPasswordIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type AccountPasswordData
- type AccountPasswordIterator
- type Applet
- func (m *Applet) ColAppletID() *builder.Column
- func (m *Applet) ColCreatedAt() *builder.Column
- func (*Applet) ColDesc() map[string][]string
- func (m *Applet) ColID() *builder.Column
- func (m *Applet) ColName() *builder.Column
- func (m *Applet) ColProjectID() *builder.Column
- func (*Applet) ColRel() map[string][]string
- func (m *Applet) ColResourceID() *builder.Column
- func (m *Applet) ColUpdatedAt() *builder.Column
- func (*Applet) Comments() map[string]string
- func (m *Applet) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Applet) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Applet) Create(db sqlx.DBExecutor) error
- func (m *Applet) Delete(db sqlx.DBExecutor) error
- func (m *Applet) DeleteByAppletID(db sqlx.DBExecutor) error
- func (m *Applet) DeleteByID(db sqlx.DBExecutor) error
- func (m *Applet) DeleteByProjectIDAndName(db sqlx.DBExecutor) error
- func (m *Applet) FetchByAppletID(db sqlx.DBExecutor) error
- func (m *Applet) FetchByID(db sqlx.DBExecutor) error
- func (m *Applet) FetchByProjectIDAndName(db sqlx.DBExecutor) error
- func (*Applet) FieldAppletID() string
- func (*Applet) FieldCreatedAt() string
- func (*Applet) FieldID() string
- func (*Applet) FieldName() string
- func (*Applet) FieldProjectID() string
- func (*Applet) FieldResourceID() string
- func (*Applet) FieldUpdatedAt() string
- func (m *Applet) IndexFieldNames() []string
- func (m *Applet) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Applet, error)
- func (*Applet) PrimaryKey() []string
- func (*Applet) TableDesc() []string
- func (*Applet) TableName() string
- func (*Applet) UniqueIndexUIAppletID() string
- func (*Applet) UniqueIndexUIProjectName() string
- func (*Applet) UniqueIndexes() builder.Indexes
- func (m *Applet) UpdateByAppletID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Applet) UpdateByAppletIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Applet) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Applet) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Applet) UpdateByProjectIDAndName(db sqlx.DBExecutor, zeros ...string) error
- func (m *Applet) UpdateByProjectIDAndNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type AppletInfo
- type AppletIterator
- type Blockchain
- func (m *Blockchain) ColAddress() *builder.Column
- func (m *Blockchain) ColChainID() *builder.Column
- func (m *Blockchain) ColCreatedAt() *builder.Column
- func (*Blockchain) ColDesc() map[string][]string
- func (m *Blockchain) ColID() *builder.Column
- func (*Blockchain) ColRel() map[string][]string
- func (m *Blockchain) ColUpdatedAt() *builder.Column
- func (*Blockchain) Comments() map[string]string
- func (m *Blockchain) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Blockchain) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Blockchain) Create(db sqlx.DBExecutor) error
- func (m *Blockchain) Delete(db sqlx.DBExecutor) error
- func (m *Blockchain) DeleteByChainID(db sqlx.DBExecutor) error
- func (m *Blockchain) DeleteByID(db sqlx.DBExecutor) error
- func (m *Blockchain) FetchByChainID(db sqlx.DBExecutor) error
- func (m *Blockchain) FetchByID(db sqlx.DBExecutor) error
- func (*Blockchain) FieldAddress() string
- func (*Blockchain) FieldChainID() string
- func (*Blockchain) FieldCreatedAt() string
- func (*Blockchain) FieldID() string
- func (*Blockchain) FieldUpdatedAt() string
- func (m *Blockchain) IndexFieldNames() []string
- func (m *Blockchain) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Blockchain, error)
- func (*Blockchain) PrimaryKey() []string
- func (*Blockchain) TableDesc() []string
- func (*Blockchain) TableName() string
- func (*Blockchain) UniqueIndexUIChainID() string
- func (*Blockchain) UniqueIndexes() builder.Indexes
- func (m *Blockchain) UpdateByChainID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Blockchain) UpdateByChainIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Blockchain) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Blockchain) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type BlockchainInfo
- type BlockchainIterator
- type ChainHeight
- func (m *ChainHeight) ColChainHeightID() *builder.Column
- func (m *ChainHeight) ColChainID() *builder.Column
- func (m *ChainHeight) ColCreatedAt() *builder.Column
- func (*ChainHeight) ColDesc() map[string][]string
- func (m *ChainHeight) ColEventType() *builder.Column
- func (m *ChainHeight) ColFinished() *builder.Column
- func (m *ChainHeight) ColHeight() *builder.Column
- func (m *ChainHeight) ColID() *builder.Column
- func (m *ChainHeight) ColPaused() *builder.Column
- func (m *ChainHeight) ColProjectName() *builder.Column
- func (*ChainHeight) ColRel() map[string][]string
- func (m *ChainHeight) ColUniq() *builder.Column
- func (m *ChainHeight) ColUpdatedAt() *builder.Column
- func (*ChainHeight) Comments() map[string]string
- func (m *ChainHeight) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *ChainHeight) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *ChainHeight) Create(db sqlx.DBExecutor) error
- func (m *ChainHeight) Delete(db sqlx.DBExecutor) error
- func (m *ChainHeight) DeleteByChainHeightID(db sqlx.DBExecutor) error
- func (m *ChainHeight) DeleteByID(db sqlx.DBExecutor) error
- func (m *ChainHeight) DeleteByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor) error
- func (m *ChainHeight) FetchByChainHeightID(db sqlx.DBExecutor) error
- func (m *ChainHeight) FetchByID(db sqlx.DBExecutor) error
- func (m *ChainHeight) FetchByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor) error
- func (*ChainHeight) FieldChainHeightID() string
- func (*ChainHeight) FieldChainID() string
- func (*ChainHeight) FieldCreatedAt() string
- func (*ChainHeight) FieldEventType() string
- func (*ChainHeight) FieldFinished() string
- func (*ChainHeight) FieldHeight() string
- func (*ChainHeight) FieldID() string
- func (*ChainHeight) FieldPaused() string
- func (*ChainHeight) FieldProjectName() string
- func (*ChainHeight) FieldUniq() string
- func (*ChainHeight) FieldUpdatedAt() string
- func (m *ChainHeight) IndexFieldNames() []string
- func (m *ChainHeight) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainHeight, error)
- func (*ChainHeight) PrimaryKey() []string
- func (*ChainHeight) TableDesc() []string
- func (*ChainHeight) TableName() string
- func (*ChainHeight) UniqueIndexUIChainHeightID() string
- func (*ChainHeight) UniqueIndexUIChainHeightUniq() string
- func (*ChainHeight) UniqueIndexes() builder.Indexes
- func (m *ChainHeight) UpdateByChainHeightID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainHeight) UpdateByChainHeightIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ChainHeight) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainHeight) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ChainHeightData
- type ChainHeightInfo
- type ChainHeightIterator
- type ChainTx
- func (m *ChainTx) ColChainID() *builder.Column
- func (m *ChainTx) ColChainTxID() *builder.Column
- func (m *ChainTx) ColCreatedAt() *builder.Column
- func (*ChainTx) ColDesc() map[string][]string
- func (m *ChainTx) ColEventType() *builder.Column
- func (m *ChainTx) ColFinished() *builder.Column
- func (m *ChainTx) ColID() *builder.Column
- func (m *ChainTx) ColPaused() *builder.Column
- func (m *ChainTx) ColProjectName() *builder.Column
- func (*ChainTx) ColRel() map[string][]string
- func (m *ChainTx) ColTxAddress() *builder.Column
- func (m *ChainTx) ColUniq() *builder.Column
- func (m *ChainTx) ColUpdatedAt() *builder.Column
- func (*ChainTx) Comments() map[string]string
- func (m *ChainTx) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *ChainTx) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *ChainTx) Create(db sqlx.DBExecutor) error
- func (m *ChainTx) Delete(db sqlx.DBExecutor) error
- func (m *ChainTx) DeleteByChainTxID(db sqlx.DBExecutor) error
- func (m *ChainTx) DeleteByID(db sqlx.DBExecutor) error
- func (m *ChainTx) DeleteByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error
- func (m *ChainTx) FetchByChainTxID(db sqlx.DBExecutor) error
- func (m *ChainTx) FetchByID(db sqlx.DBExecutor) error
- func (m *ChainTx) FetchByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error
- func (*ChainTx) FieldChainID() string
- func (*ChainTx) FieldChainTxID() string
- func (*ChainTx) FieldCreatedAt() string
- func (*ChainTx) FieldEventType() string
- func (*ChainTx) FieldFinished() string
- func (*ChainTx) FieldID() string
- func (*ChainTx) FieldPaused() string
- func (*ChainTx) FieldProjectName() string
- func (*ChainTx) FieldTxAddress() string
- func (*ChainTx) FieldUniq() string
- func (*ChainTx) FieldUpdatedAt() string
- func (m *ChainTx) IndexFieldNames() []string
- func (m *ChainTx) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainTx, error)
- func (*ChainTx) PrimaryKey() []string
- func (*ChainTx) TableDesc() []string
- func (*ChainTx) TableName() string
- func (*ChainTx) UniqueIndexUIChainTxID() string
- func (*ChainTx) UniqueIndexUIChainTxUniq() string
- func (*ChainTx) UniqueIndexes() builder.Indexes
- func (m *ChainTx) UpdateByChainTxID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainTx) UpdateByChainTxIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ChainTx) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainTx) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ChainTxData
- type ChainTxInfo
- type ChainTxIterator
- type Config
- func (m *Config) ColConfigID() *builder.Column
- func (m *Config) ColCreatedAt() *builder.Column
- func (*Config) ColDesc() map[string][]string
- func (m *Config) ColID() *builder.Column
- func (*Config) ColRel() map[string][]string
- func (m *Config) ColRelID() *builder.Column
- func (m *Config) ColType() *builder.Column
- func (m *Config) ColUpdatedAt() *builder.Column
- func (m *Config) ColValue() *builder.Column
- func (*Config) Comments() map[string]string
- func (m *Config) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Config) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Config) Create(db sqlx.DBExecutor) error
- func (m *Config) Delete(db sqlx.DBExecutor) error
- func (m *Config) DeleteByConfigID(db sqlx.DBExecutor) error
- func (m *Config) DeleteByID(db sqlx.DBExecutor) error
- func (m *Config) DeleteByRelIDAndType(db sqlx.DBExecutor) error
- func (m *Config) FetchByConfigID(db sqlx.DBExecutor) error
- func (m *Config) FetchByID(db sqlx.DBExecutor) error
- func (m *Config) FetchByRelIDAndType(db sqlx.DBExecutor) error
- func (*Config) FieldConfigID() string
- func (*Config) FieldCreatedAt() string
- func (*Config) FieldID() string
- func (*Config) FieldRelID() string
- func (*Config) FieldType() string
- func (*Config) FieldUpdatedAt() string
- func (*Config) FieldValue() string
- func (m *Config) IndexFieldNames() []string
- func (m *Config) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Config, error)
- func (*Config) PrimaryKey() []string
- func (*Config) TableDesc() []string
- func (*Config) TableName() string
- func (*Config) UniqueIndexUIConfigID() string
- func (*Config) UniqueIndexUIRelType() string
- func (*Config) UniqueIndexes() builder.Indexes
- func (m *Config) UpdateByConfigID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Config) UpdateByConfigIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Config) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Config) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Config) UpdateByRelIDAndType(db sqlx.DBExecutor, zeros ...string) error
- func (m *Config) UpdateByRelIDAndTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ConfigBase
- type ConfigIterator
- type ContractLog
- func (m *ContractLog) ColBlockCurrent() *builder.Column
- func (m *ContractLog) ColBlockEnd() *builder.Column
- func (m *ContractLog) ColBlockStart() *builder.Column
- func (m *ContractLog) ColChainID() *builder.Column
- func (m *ContractLog) ColContractAddress() *builder.Column
- func (m *ContractLog) ColContractLogID() *builder.Column
- func (m *ContractLog) ColCreatedAt() *builder.Column
- func (*ContractLog) ColDesc() map[string][]string
- func (m *ContractLog) ColEventType() *builder.Column
- func (m *ContractLog) ColID() *builder.Column
- func (m *ContractLog) ColPaused() *builder.Column
- func (m *ContractLog) ColProjectName() *builder.Column
- func (*ContractLog) ColRel() map[string][]string
- func (m *ContractLog) ColTopic0() *builder.Column
- func (m *ContractLog) ColTopic1() *builder.Column
- func (m *ContractLog) ColTopic2() *builder.Column
- func (m *ContractLog) ColTopic3() *builder.Column
- func (m *ContractLog) ColUniq() *builder.Column
- func (m *ContractLog) ColUpdatedAt() *builder.Column
- func (*ContractLog) Comments() map[string]string
- func (m *ContractLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *ContractLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *ContractLog) Create(db sqlx.DBExecutor) error
- func (m *ContractLog) Delete(db sqlx.DBExecutor) error
- func (m *ContractLog) DeleteByContractLogID(db sqlx.DBExecutor) error
- func (m *ContractLog) DeleteByID(db sqlx.DBExecutor) error
- func (m *ContractLog) DeleteByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor) error
- func (m *ContractLog) FetchByContractLogID(db sqlx.DBExecutor) error
- func (m *ContractLog) FetchByID(db sqlx.DBExecutor) error
- func (m *ContractLog) FetchByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor) error
- func (*ContractLog) FieldBlockCurrent() string
- func (*ContractLog) FieldBlockEnd() string
- func (*ContractLog) FieldBlockStart() string
- func (*ContractLog) FieldChainID() string
- func (*ContractLog) FieldContractAddress() string
- func (*ContractLog) FieldContractLogID() string
- func (*ContractLog) FieldCreatedAt() string
- func (*ContractLog) FieldEventType() string
- func (*ContractLog) FieldID() string
- func (*ContractLog) FieldPaused() string
- func (*ContractLog) FieldProjectName() string
- func (*ContractLog) FieldTopic0() string
- func (*ContractLog) FieldTopic1() string
- func (*ContractLog) FieldTopic2() string
- func (*ContractLog) FieldTopic3() string
- func (*ContractLog) FieldUniq() string
- func (*ContractLog) FieldUpdatedAt() string
- func (m *ContractLog) IndexFieldNames() []string
- func (m *ContractLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ContractLog, error)
- func (*ContractLog) PrimaryKey() []string
- func (*ContractLog) TableDesc() []string
- func (*ContractLog) TableName() string
- func (*ContractLog) UniqueIndexUIContractLogID() string
- func (*ContractLog) UniqueIndexUIContractLogUniq() string
- func (*ContractLog) UniqueIndexes() builder.Indexes
- func (m *ContractLog) UpdateByContractLogID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ContractLog) UpdateByContractLogIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ContractLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ContractLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor, zeros ...string) error
- func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ContractLogData
- type ContractLogInfo
- type ContractLogIterator
- type CronJob
- func (m *CronJob) ColCreatedAt() *builder.Column
- func (m *CronJob) ColCronExpressions() *builder.Column
- func (m *CronJob) ColCronJobID() *builder.Column
- func (m *CronJob) ColDeletedAt() *builder.Column
- func (*CronJob) ColDesc() map[string][]string
- func (m *CronJob) ColEventType() *builder.Column
- func (m *CronJob) ColID() *builder.Column
- func (m *CronJob) ColProjectID() *builder.Column
- func (*CronJob) ColRel() map[string][]string
- func (m *CronJob) ColUpdatedAt() *builder.Column
- func (*CronJob) Comments() map[string]string
- func (m *CronJob) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *CronJob) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *CronJob) Create(db sqlx.DBExecutor) error
- func (m *CronJob) Delete(db sqlx.DBExecutor) error
- func (m *CronJob) DeleteByCronJobID(db sqlx.DBExecutor) error
- func (m *CronJob) DeleteByID(db sqlx.DBExecutor) error
- func (m *CronJob) DeleteByProjectIDAndCronExpressionsAndEventType(db sqlx.DBExecutor) error
- func (m *CronJob) FetchByCronJobID(db sqlx.DBExecutor) error
- func (m *CronJob) FetchByID(db sqlx.DBExecutor) error
- func (m *CronJob) FetchByProjectIDAndCronExpressionsAndEventType(db sqlx.DBExecutor) error
- func (*CronJob) FieldCreatedAt() string
- func (*CronJob) FieldCronExpressions() string
- func (*CronJob) FieldCronJobID() string
- func (*CronJob) FieldDeletedAt() string
- func (*CronJob) FieldEventType() string
- func (*CronJob) FieldID() string
- func (*CronJob) FieldProjectID() string
- func (*CronJob) FieldUpdatedAt() string
- func (m *CronJob) IndexFieldNames() []string
- func (m *CronJob) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]CronJob, error)
- func (*CronJob) PrimaryKey() []string
- func (m *CronJob) SoftDeleteByCronJobID(db sqlx.DBExecutor) error
- func (m *CronJob) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *CronJob) SoftDeleteByProjectIDAndCronExpressionsAndEventType(db sqlx.DBExecutor) error
- func (*CronJob) TableDesc() []string
- func (*CronJob) TableName() string
- func (*CronJob) UniqueIndexUICron() string
- func (*CronJob) UniqueIndexUICronJobID() string
- func (*CronJob) UniqueIndexes() builder.Indexes
- func (m *CronJob) UpdateByCronJobID(db sqlx.DBExecutor, zeros ...string) error
- func (m *CronJob) UpdateByCronJobIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *CronJob) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *CronJob) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *CronJob) UpdateByProjectIDAndCronExpressionsAndEventType(db sqlx.DBExecutor, zeros ...string) error
- func (m *CronJob) UpdateByProjectIDAndCronExpressionsAndEventTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type CronJobInfo
- type CronJobIterator
- type EventInfo
- type EventLog
- func (m *EventLog) ColAppletID() *builder.Column
- func (m *EventLog) ColCreatedAt() *builder.Column
- func (*EventLog) ColDesc() map[string][]string
- func (m *EventLog) ColEventID() *builder.Column
- func (m *EventLog) ColID() *builder.Column
- func (m *EventLog) ColProjectID() *builder.Column
- func (m *EventLog) ColPublisherID() *builder.Column
- func (*EventLog) ColRel() map[string][]string
- func (m *EventLog) ColUpdatedAt() *builder.Column
- func (*EventLog) Comments() map[string]string
- func (m *EventLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *EventLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *EventLog) Create(db sqlx.DBExecutor) error
- func (m *EventLog) Delete(db sqlx.DBExecutor) error
- func (m *EventLog) DeleteByEventID(db sqlx.DBExecutor) error
- func (m *EventLog) DeleteByID(db sqlx.DBExecutor) error
- func (m *EventLog) FetchByEventID(db sqlx.DBExecutor) error
- func (m *EventLog) FetchByID(db sqlx.DBExecutor) error
- func (*EventLog) FieldAppletID() string
- func (*EventLog) FieldCreatedAt() string
- func (*EventLog) FieldEventID() string
- func (*EventLog) FieldID() string
- func (*EventLog) FieldProjectID() string
- func (*EventLog) FieldPublisherID() string
- func (*EventLog) FieldUpdatedAt() string
- func (m *EventLog) IndexFieldNames() []string
- func (*EventLog) Indexes() builder.Indexes
- func (m *EventLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]EventLog, error)
- func (*EventLog) PrimaryKey() []string
- func (*EventLog) TableDesc() []string
- func (*EventLog) TableName() string
- func (*EventLog) UniqueIndexUIEventID() string
- func (*EventLog) UniqueIndexes() builder.Indexes
- func (m *EventLog) UpdateByEventID(db sqlx.DBExecutor, zeros ...string) error
- func (m *EventLog) UpdateByEventIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *EventLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *EventLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type EventLogIterator
- type Instance
- func (m *Instance) ColAppletID() *builder.Column
- func (m *Instance) ColCreatedAt() *builder.Column
- func (*Instance) ColDesc() map[string][]string
- func (m *Instance) ColID() *builder.Column
- func (m *Instance) ColInstanceID() *builder.Column
- func (*Instance) ColRel() map[string][]string
- func (m *Instance) ColState() *builder.Column
- func (m *Instance) ColUpdatedAt() *builder.Column
- func (*Instance) Comments() map[string]string
- func (m *Instance) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Instance) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Instance) Create(db sqlx.DBExecutor) error
- func (m *Instance) Delete(db sqlx.DBExecutor) error
- func (m *Instance) DeleteByAppletID(db sqlx.DBExecutor) error
- func (m *Instance) DeleteByID(db sqlx.DBExecutor) error
- func (m *Instance) DeleteByInstanceID(db sqlx.DBExecutor) error
- func (m *Instance) FetchByAppletID(db sqlx.DBExecutor) error
- func (m *Instance) FetchByID(db sqlx.DBExecutor) error
- func (m *Instance) FetchByInstanceID(db sqlx.DBExecutor) error
- func (*Instance) FieldAppletID() string
- func (*Instance) FieldCreatedAt() string
- func (*Instance) FieldID() string
- func (*Instance) FieldInstanceID() string
- func (*Instance) FieldState() string
- func (*Instance) FieldUpdatedAt() string
- func (m *Instance) IndexFieldNames() []string
- func (m *Instance) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Instance, error)
- func (*Instance) PrimaryKey() []string
- func (*Instance) TableDesc() []string
- func (*Instance) TableName() string
- func (*Instance) UniqueIndexUIAppletID() string
- func (*Instance) UniqueIndexUIInstanceID() string
- func (*Instance) UniqueIndexes() builder.Indexes
- func (m *Instance) UpdateByAppletID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Instance) UpdateByAppletIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Instance) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Instance) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Instance) UpdateByInstanceID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Instance) UpdateByInstanceIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type InstanceInfo
- type InstanceIterator
- type Meta
- type Operator
- func (m *Operator) ColAccountID() *builder.Column
- func (m *Operator) ColCreatedAt() *builder.Column
- func (m *Operator) ColDeletedAt() *builder.Column
- func (*Operator) ColDesc() map[string][]string
- func (m *Operator) ColID() *builder.Column
- func (m *Operator) ColName() *builder.Column
- func (m *Operator) ColOperatorID() *builder.Column
- func (m *Operator) ColPrivateKey() *builder.Column
- func (*Operator) ColRel() map[string][]string
- func (m *Operator) ColUpdatedAt() *builder.Column
- func (*Operator) Comments() map[string]string
- func (m *Operator) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Operator) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Operator) Create(db sqlx.DBExecutor) error
- func (m *Operator) Delete(db sqlx.DBExecutor) error
- func (m *Operator) DeleteByAccountIDAndName(db sqlx.DBExecutor) error
- func (m *Operator) DeleteByID(db sqlx.DBExecutor) error
- func (m *Operator) DeleteByOperatorID(db sqlx.DBExecutor) error
- func (m *Operator) FetchByAccountIDAndName(db sqlx.DBExecutor) error
- func (m *Operator) FetchByID(db sqlx.DBExecutor) error
- func (m *Operator) FetchByOperatorID(db sqlx.DBExecutor) error
- func (*Operator) FieldAccountID() string
- func (*Operator) FieldCreatedAt() string
- func (*Operator) FieldDeletedAt() string
- func (*Operator) FieldID() string
- func (*Operator) FieldName() string
- func (*Operator) FieldOperatorID() string
- func (*Operator) FieldPrivateKey() string
- func (*Operator) FieldUpdatedAt() string
- func (m *Operator) IndexFieldNames() []string
- func (m *Operator) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Operator, error)
- func (*Operator) PrimaryKey() []string
- func (m *Operator) SoftDeleteByAccountIDAndName(db sqlx.DBExecutor) error
- func (m *Operator) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *Operator) SoftDeleteByOperatorID(db sqlx.DBExecutor) error
- func (*Operator) TableDesc() []string
- func (*Operator) TableName() string
- func (*Operator) UniqueIndexUIName() string
- func (*Operator) UniqueIndexUIOperatorID() string
- func (*Operator) UniqueIndexes() builder.Indexes
- func (m *Operator) UpdateByAccountIDAndName(db sqlx.DBExecutor, zeros ...string) error
- func (m *Operator) UpdateByAccountIDAndNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Operator) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Operator) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Operator) UpdateByOperatorID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Operator) UpdateByOperatorIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type OperatorInfo
- type OperatorIterator
- type Project
- func (m *Project) ColAccountID() *builder.Column
- func (m *Project) ColCreatedAt() *builder.Column
- func (m *Project) ColDeletedAt() *builder.Column
- func (*Project) ColDesc() map[string][]string
- func (m *Project) ColDescription() *builder.Column
- func (m *Project) ColID() *builder.Column
- func (m *Project) ColName() *builder.Column
- func (m *Project) ColProjectID() *builder.Column
- func (m *Project) ColProto() *builder.Column
- func (*Project) ColRel() map[string][]string
- func (m *Project) ColUpdatedAt() *builder.Column
- func (m *Project) ColVersion() *builder.Column
- func (*Project) Comments() map[string]string
- func (m *Project) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Project) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Project) Create(db sqlx.DBExecutor) error
- func (m Project) DatabaseName() string
- func (m *Project) Delete(db sqlx.DBExecutor) error
- func (m *Project) DeleteByID(db sqlx.DBExecutor) error
- func (m *Project) DeleteByName(db sqlx.DBExecutor) error
- func (m *Project) DeleteByProjectID(db sqlx.DBExecutor) error
- func (m *Project) FetchByID(db sqlx.DBExecutor) error
- func (m *Project) FetchByName(db sqlx.DBExecutor) error
- func (m *Project) FetchByProjectID(db sqlx.DBExecutor) error
- func (*Project) FieldAccountID() string
- func (*Project) FieldCreatedAt() string
- func (*Project) FieldDeletedAt() string
- func (*Project) FieldDescription() string
- func (*Project) FieldID() string
- func (*Project) FieldName() string
- func (*Project) FieldProjectID() string
- func (*Project) FieldProto() string
- func (*Project) FieldUpdatedAt() string
- func (*Project) FieldVersion() string
- func (m *Project) IndexFieldNames() []string
- func (m *Project) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Project, error)
- func (*Project) PrimaryKey() []string
- func (m Project) Privileges() (usename, passwd string)
- func (m *Project) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *Project) SoftDeleteByName(db sqlx.DBExecutor) error
- func (m *Project) SoftDeleteByProjectID(db sqlx.DBExecutor) error
- func (*Project) TableDesc() []string
- func (*Project) TableName() string
- func (*Project) UniqueIndexUIName() string
- func (*Project) UniqueIndexUIProjectID() string
- func (*Project) UniqueIndexes() builder.Indexes
- func (m *Project) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Project) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Project) UpdateByName(db sqlx.DBExecutor, zeros ...string) error
- func (m *Project) UpdateByNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Project) UpdateByProjectID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Project) UpdateByProjectIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ProjectBase
- type ProjectIterator
- type ProjectName
- type ProjectOperator
- func (m *ProjectOperator) ColCreatedAt() *builder.Column
- func (m *ProjectOperator) ColDeletedAt() *builder.Column
- func (*ProjectOperator) ColDesc() map[string][]string
- func (m *ProjectOperator) ColID() *builder.Column
- func (m *ProjectOperator) ColOperatorID() *builder.Column
- func (m *ProjectOperator) ColProjectID() *builder.Column
- func (*ProjectOperator) ColRel() map[string][]string
- func (m *ProjectOperator) ColUpdatedAt() *builder.Column
- func (*ProjectOperator) Comments() map[string]string
- func (m *ProjectOperator) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *ProjectOperator) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *ProjectOperator) Create(db sqlx.DBExecutor) error
- func (m *ProjectOperator) Delete(db sqlx.DBExecutor) error
- func (m *ProjectOperator) DeleteByID(db sqlx.DBExecutor) error
- func (m *ProjectOperator) DeleteByProjectID(db sqlx.DBExecutor) error
- func (m *ProjectOperator) FetchByID(db sqlx.DBExecutor) error
- func (m *ProjectOperator) FetchByProjectID(db sqlx.DBExecutor) error
- func (*ProjectOperator) FieldCreatedAt() string
- func (*ProjectOperator) FieldDeletedAt() string
- func (*ProjectOperator) FieldID() string
- func (*ProjectOperator) FieldOperatorID() string
- func (*ProjectOperator) FieldProjectID() string
- func (*ProjectOperator) FieldUpdatedAt() string
- func (m *ProjectOperator) IndexFieldNames() []string
- func (m *ProjectOperator) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ProjectOperator, error)
- func (*ProjectOperator) PrimaryKey() []string
- func (m *ProjectOperator) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *ProjectOperator) SoftDeleteByProjectID(db sqlx.DBExecutor) error
- func (*ProjectOperator) TableDesc() []string
- func (*ProjectOperator) TableName() string
- func (*ProjectOperator) UniqueIndexUIProjectID() string
- func (*ProjectOperator) UniqueIndexes() builder.Indexes
- func (m *ProjectOperator) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ProjectOperator) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ProjectOperator) UpdateByProjectID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ProjectOperator) UpdateByProjectIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ProjectOperatorIterator
- type Publisher
- func (m *Publisher) ColCreatedAt() *builder.Column
- func (*Publisher) ColDesc() map[string][]string
- func (m *Publisher) ColID() *builder.Column
- func (m *Publisher) ColKey() *builder.Column
- func (m *Publisher) ColName() *builder.Column
- func (m *Publisher) ColProjectID() *builder.Column
- func (m *Publisher) ColPublisherID() *builder.Column
- func (*Publisher) ColRel() map[string][]string
- func (m *Publisher) ColToken() *builder.Column
- func (m *Publisher) ColUpdatedAt() *builder.Column
- func (*Publisher) Comments() map[string]string
- func (m *Publisher) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Publisher) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Publisher) Create(db sqlx.DBExecutor) error
- func (m *Publisher) Delete(db sqlx.DBExecutor) error
- func (m *Publisher) DeleteByID(db sqlx.DBExecutor) error
- func (m *Publisher) DeleteByProjectIDAndKey(db sqlx.DBExecutor) error
- func (m *Publisher) DeleteByPublisherID(db sqlx.DBExecutor) error
- func (m *Publisher) FetchByID(db sqlx.DBExecutor) error
- func (m *Publisher) FetchByProjectIDAndKey(db sqlx.DBExecutor) error
- func (m *Publisher) FetchByPublisherID(db sqlx.DBExecutor) error
- func (*Publisher) FieldCreatedAt() string
- func (*Publisher) FieldID() string
- func (*Publisher) FieldKey() string
- func (*Publisher) FieldName() string
- func (*Publisher) FieldProjectID() string
- func (*Publisher) FieldPublisherID() string
- func (*Publisher) FieldToken() string
- func (*Publisher) FieldUpdatedAt() string
- func (m *Publisher) IndexFieldNames() []string
- func (m *Publisher) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Publisher, error)
- func (*Publisher) PrimaryKey() []string
- func (*Publisher) TableDesc() []string
- func (*Publisher) TableName() string
- func (*Publisher) UniqueIndexUIProjectIDPublisherKey() string
- func (*Publisher) UniqueIndexUIPublisherID() string
- func (*Publisher) UniqueIndexes() builder.Indexes
- func (m *Publisher) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Publisher) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Publisher) UpdateByProjectIDAndKey(db sqlx.DBExecutor, zeros ...string) error
- func (m *Publisher) UpdateByProjectIDAndKeyWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Publisher) UpdateByPublisherID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Publisher) UpdateByPublisherIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type PublisherInfo
- type PublisherIterator
- type RefEventID
- type RelAccount
- type RelAccountPassword
- type RelApplet
- type RelBlockchain
- type RelChainHeight
- type RelChainTx
- type RelConfig
- type RelContractLog
- type RelCronJob
- type RelInstance
- type RelOperator
- type RelProject
- type RelPublisher
- type RelResource
- type RelStrategy
- type RelTrafficLimit
- type RelWasmLog
- type Resource
- func (m *Resource) ColCreatedAt() *builder.Column
- func (*Resource) ColDesc() map[string][]string
- func (m *Resource) ColID() *builder.Column
- func (m *Resource) ColMd5() *builder.Column
- func (m *Resource) ColPath() *builder.Column
- func (*Resource) ColRel() map[string][]string
- func (m *Resource) ColResourceID() *builder.Column
- func (m *Resource) ColUpdatedAt() *builder.Column
- func (*Resource) Comments() map[string]string
- func (m *Resource) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Resource) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Resource) Create(db sqlx.DBExecutor) error
- func (m *Resource) Delete(db sqlx.DBExecutor) error
- func (m *Resource) DeleteByID(db sqlx.DBExecutor) error
- func (m *Resource) DeleteByMd5(db sqlx.DBExecutor) error
- func (m *Resource) DeleteByResourceID(db sqlx.DBExecutor) error
- func (m *Resource) FetchByID(db sqlx.DBExecutor) error
- func (m *Resource) FetchByMd5(db sqlx.DBExecutor) error
- func (m *Resource) FetchByResourceID(db sqlx.DBExecutor) error
- func (*Resource) FieldCreatedAt() string
- func (*Resource) FieldID() string
- func (*Resource) FieldMd5() string
- func (*Resource) FieldPath() string
- func (*Resource) FieldResourceID() string
- func (*Resource) FieldUpdatedAt() string
- func (m *Resource) IndexFieldNames() []string
- func (m *Resource) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Resource, error)
- func (*Resource) PrimaryKey() []string
- func (*Resource) TableDesc() []string
- func (*Resource) TableName() string
- func (*Resource) UniqueIndexUIMd5() string
- func (*Resource) UniqueIndexUIResourceID() string
- func (*Resource) UniqueIndexes() builder.Indexes
- func (m *Resource) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Resource) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Resource) UpdateByMd5(db sqlx.DBExecutor, zeros ...string) error
- func (m *Resource) UpdateByMd5WithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Resource) UpdateByResourceID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Resource) UpdateByResourceIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ResourceInfo
- type ResourceIterator
- type ResourceOwnerInfo
- type ResourceOwnership
- func (m *ResourceOwnership) ColAccountID() *builder.Column
- func (m *ResourceOwnership) ColComment() *builder.Column
- func (m *ResourceOwnership) ColCreatedAt() *builder.Column
- func (*ResourceOwnership) ColDesc() map[string][]string
- func (m *ResourceOwnership) ColExpireAt() *builder.Column
- func (m *ResourceOwnership) ColFilename() *builder.Column
- func (m *ResourceOwnership) ColID() *builder.Column
- func (*ResourceOwnership) ColRel() map[string][]string
- func (m *ResourceOwnership) ColResourceID() *builder.Column
- func (m *ResourceOwnership) ColUpdatedAt() *builder.Column
- func (m *ResourceOwnership) ColUploadedAt() *builder.Column
- func (*ResourceOwnership) Comments() map[string]string
- func (m *ResourceOwnership) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *ResourceOwnership) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *ResourceOwnership) Create(db sqlx.DBExecutor) error
- func (m *ResourceOwnership) Delete(db sqlx.DBExecutor) error
- func (m *ResourceOwnership) DeleteByID(db sqlx.DBExecutor) error
- func (m *ResourceOwnership) DeleteByResourceIDAndAccountID(db sqlx.DBExecutor) error
- func (m *ResourceOwnership) FetchByID(db sqlx.DBExecutor) error
- func (m *ResourceOwnership) FetchByResourceIDAndAccountID(db sqlx.DBExecutor) error
- func (*ResourceOwnership) FieldAccountID() string
- func (*ResourceOwnership) FieldComment() string
- func (*ResourceOwnership) FieldCreatedAt() string
- func (*ResourceOwnership) FieldExpireAt() string
- func (*ResourceOwnership) FieldFilename() string
- func (*ResourceOwnership) FieldID() string
- func (*ResourceOwnership) FieldResourceID() string
- func (*ResourceOwnership) FieldUpdatedAt() string
- func (*ResourceOwnership) FieldUploadedAt() string
- func (m *ResourceOwnership) IndexFieldNames() []string
- func (m *ResourceOwnership) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ResourceOwnership, error)
- func (*ResourceOwnership) PrimaryKey() []string
- func (*ResourceOwnership) TableDesc() []string
- func (*ResourceOwnership) TableName() string
- func (*ResourceOwnership) UniqueIndexUIResourceAccount() string
- func (*ResourceOwnership) UniqueIndexes() builder.Indexes
- func (m *ResourceOwnership) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ResourceOwnership) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ResourceOwnership) UpdateByResourceIDAndAccountID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ResourceOwnership) UpdateByResourceIDAndAccountIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ResourceOwnershipIterator
- type Strategy
- func (m *Strategy) ColAppletID() *builder.Column
- func (m *Strategy) ColCreatedAt() *builder.Column
- func (m *Strategy) ColDeletedAt() *builder.Column
- func (*Strategy) ColDesc() map[string][]string
- func (m *Strategy) ColEventType() *builder.Column
- func (m *Strategy) ColHandler() *builder.Column
- func (m *Strategy) ColID() *builder.Column
- func (m *Strategy) ColProjectID() *builder.Column
- func (*Strategy) ColRel() map[string][]string
- func (m *Strategy) ColStrategyID() *builder.Column
- func (m *Strategy) ColUpdatedAt() *builder.Column
- func (*Strategy) Comments() map[string]string
- func (m *Strategy) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Strategy) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Strategy) Create(db sqlx.DBExecutor) error
- func (m *Strategy) Delete(db sqlx.DBExecutor) error
- func (m *Strategy) DeleteByID(db sqlx.DBExecutor) error
- func (m *Strategy) DeleteByProjectIDAndAppletIDAndEventType(db sqlx.DBExecutor) error
- func (m *Strategy) DeleteByStrategyID(db sqlx.DBExecutor) error
- func (m *Strategy) FetchByID(db sqlx.DBExecutor) error
- func (m *Strategy) FetchByProjectIDAndAppletIDAndEventType(db sqlx.DBExecutor) error
- func (m *Strategy) FetchByStrategyID(db sqlx.DBExecutor) error
- func (*Strategy) FieldAppletID() string
- func (*Strategy) FieldCreatedAt() string
- func (*Strategy) FieldDeletedAt() string
- func (*Strategy) FieldEventType() string
- func (*Strategy) FieldHandler() string
- func (*Strategy) FieldID() string
- func (*Strategy) FieldProjectID() string
- func (*Strategy) FieldStrategyID() string
- func (*Strategy) FieldUpdatedAt() string
- func (m *Strategy) IndexFieldNames() []string
- func (m *Strategy) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Strategy, error)
- func (*Strategy) PrimaryKey() []string
- func (m *Strategy) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *Strategy) SoftDeleteByProjectIDAndAppletIDAndEventType(db sqlx.DBExecutor) error
- func (m *Strategy) SoftDeleteByStrategyID(db sqlx.DBExecutor) error
- func (*Strategy) TableDesc() []string
- func (*Strategy) TableName() string
- func (*Strategy) UniqueIndexUIPrjAppEvent() string
- func (*Strategy) UniqueIndexUIStrategyID() string
- func (*Strategy) UniqueIndexes() builder.Indexes
- func (m *Strategy) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Strategy) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventType(db sqlx.DBExecutor, zeros ...string) error
- func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Strategy) UpdateByStrategyID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Strategy) UpdateByStrategyIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type StrategyInfo
- type StrategyIterator
- type Text
- type TrafficLimit
- func (m *TrafficLimit) ColApiType() *builder.Column
- func (m *TrafficLimit) ColCreatedAt() *builder.Column
- func (m *TrafficLimit) ColDeletedAt() *builder.Column
- func (*TrafficLimit) ColDesc() map[string][]string
- func (m *TrafficLimit) ColDuration() *builder.Column
- func (m *TrafficLimit) ColID() *builder.Column
- func (m *TrafficLimit) ColProjectID() *builder.Column
- func (*TrafficLimit) ColRel() map[string][]string
- func (m *TrafficLimit) ColStartAt() *builder.Column
- func (m *TrafficLimit) ColThreshold() *builder.Column
- func (m *TrafficLimit) ColTrafficLimitID() *builder.Column
- func (m *TrafficLimit) ColUpdatedAt() *builder.Column
- func (*TrafficLimit) Comments() map[string]string
- func (m *TrafficLimit) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *TrafficLimit) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *TrafficLimit) Create(db sqlx.DBExecutor) error
- func (m *TrafficLimit) Delete(db sqlx.DBExecutor) error
- func (m *TrafficLimit) DeleteByID(db sqlx.DBExecutor) error
- func (m *TrafficLimit) DeleteByProjectIDAndApiType(db sqlx.DBExecutor) error
- func (m *TrafficLimit) DeleteByTrafficLimitID(db sqlx.DBExecutor) error
- func (m *TrafficLimit) FetchByID(db sqlx.DBExecutor) error
- func (m *TrafficLimit) FetchByProjectIDAndApiType(db sqlx.DBExecutor) error
- func (m *TrafficLimit) FetchByTrafficLimitID(db sqlx.DBExecutor) error
- func (*TrafficLimit) FieldApiType() string
- func (*TrafficLimit) FieldCreatedAt() string
- func (*TrafficLimit) FieldDeletedAt() string
- func (*TrafficLimit) FieldDuration() string
- func (*TrafficLimit) FieldID() string
- func (*TrafficLimit) FieldProjectID() string
- func (*TrafficLimit) FieldStartAt() string
- func (*TrafficLimit) FieldThreshold() string
- func (*TrafficLimit) FieldTrafficLimitID() string
- func (*TrafficLimit) FieldUpdatedAt() string
- func (m *TrafficLimit) IndexFieldNames() []string
- func (m *TrafficLimit) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]TrafficLimit, error)
- func (*TrafficLimit) PrimaryKey() []string
- func (m *TrafficLimit) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *TrafficLimit) SoftDeleteByProjectIDAndApiType(db sqlx.DBExecutor) error
- func (m *TrafficLimit) SoftDeleteByTrafficLimitID(db sqlx.DBExecutor) error
- func (*TrafficLimit) TableDesc() []string
- func (*TrafficLimit) TableName() string
- func (*TrafficLimit) UniqueIndexUIPrjAPIType() string
- func (*TrafficLimit) UniqueIndexUITrafficLimitID() string
- func (*TrafficLimit) UniqueIndexes() builder.Indexes
- func (m *TrafficLimit) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *TrafficLimit) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *TrafficLimit) UpdateByProjectIDAndApiType(db sqlx.DBExecutor, zeros ...string) error
- func (m *TrafficLimit) UpdateByProjectIDAndApiTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *TrafficLimit) UpdateByTrafficLimitID(db sqlx.DBExecutor, zeros ...string) error
- func (m *TrafficLimit) UpdateByTrafficLimitIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type TrafficLimitInfo
- type TrafficLimitIterator
- type WasmLog
- func (m *WasmLog) ColAppletName() *builder.Column
- func (m *WasmLog) ColCreatedAt() *builder.Column
- func (*WasmLog) ColDesc() map[string][]string
- func (m *WasmLog) ColID() *builder.Column
- func (m *WasmLog) ColInstanceID() *builder.Column
- func (m *WasmLog) ColLevel() *builder.Column
- func (m *WasmLog) ColLogTime() *builder.Column
- func (m *WasmLog) ColMsg() *builder.Column
- func (m *WasmLog) ColProjectName() *builder.Column
- func (*WasmLog) ColRel() map[string][]string
- func (m *WasmLog) ColSrc() *builder.Column
- func (m *WasmLog) ColUpdatedAt() *builder.Column
- func (m *WasmLog) ColWasmLogID() *builder.Column
- func (*WasmLog) Comments() map[string]string
- func (m *WasmLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *WasmLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *WasmLog) Create(db sqlx.DBExecutor) error
- func (m *WasmLog) Delete(db sqlx.DBExecutor) error
- func (m *WasmLog) DeleteByID(db sqlx.DBExecutor) error
- func (m *WasmLog) DeleteByWasmLogID(db sqlx.DBExecutor) error
- func (m *WasmLog) FetchByID(db sqlx.DBExecutor) error
- func (m *WasmLog) FetchByWasmLogID(db sqlx.DBExecutor) error
- func (*WasmLog) FieldAppletName() string
- func (*WasmLog) FieldCreatedAt() string
- func (*WasmLog) FieldID() string
- func (*WasmLog) FieldInstanceID() string
- func (*WasmLog) FieldLevel() string
- func (*WasmLog) FieldLogTime() string
- func (*WasmLog) FieldMsg() string
- func (*WasmLog) FieldProjectName() string
- func (*WasmLog) FieldSrc() string
- func (*WasmLog) FieldUpdatedAt() string
- func (*WasmLog) FieldWasmLogID() string
- func (m *WasmLog) IndexFieldNames() []string
- func (m *WasmLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]WasmLog, error)
- func (*WasmLog) PrimaryKey() []string
- func (*WasmLog) TableDesc() []string
- func (*WasmLog) TableName() string
- func (*WasmLog) UniqueIndexUIWasmLogID() string
- func (*WasmLog) UniqueIndexes() builder.Indexes
- func (m *WasmLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *WasmLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *WasmLog) UpdateByWasmLogID(db sqlx.DBExecutor, zeros ...string) error
- func (m *WasmLog) UpdateByWasmLogIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type WasmLogInfo
- type WasmLogIterator
Constants ¶
const (
AccountIdentityMetaKey_EthAddress_Nonce string = "nonce"
)
Variables ¶
var ( DB = sqlx.NewDatabase("demo").WithSchema("applet_management") MonitorDB = sqlx.NewDatabase("demo").WithSchema("monitor") WasmDB = sqlx.NewDatabase("wasm_storage") )
var AccountAccessKeyTable *builder.Table
var AccountIdentityTable *builder.Table
var AccountPasswordTable *builder.Table
var AccountTable *builder.Table
var AppletTable *builder.Table
var BlockchainTable *builder.Table
var ChainHeightTable *builder.Table
var ChainTxTable *builder.Table
var ConfigTable *builder.Table
var ContractLogTable *builder.Table
var CronJobTable *builder.Table
var DefaultStrategyInfo = StrategyInfo{ EventType: enums.EVENTTYPEDEFAULT, Handler: "start", }
var EventLogTable *builder.Table
var InstanceTable *builder.Table
var OperatorTable *builder.Table
var ProjectOperatorTable *builder.Table
var ProjectTable *builder.Table
var PublisherTable *builder.Table
var ResourceOwnershipTable *builder.Table
var ResourceTable *builder.Table
var StrategyTable *builder.Table
var TrafficLimitTable *builder.Table
var WasmLogTable *builder.Table
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { datatypes.PrimaryID RelAccount AccountInfo datatypes.OperationTimesWithDeleted }
Account w3bstream account @def primary ID @def unique_index UI_account_id AccountID
func (*Account) ColAccountID ¶
func (*Account) ColCreatedAt ¶
func (*Account) ColDeletedAt ¶
func (*Account) ColOperatorPrivateKey ¶ added in v1.1.0
func (*Account) ColUpdatedAt ¶
func (*Account) CondByValue ¶
func (m *Account) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Account) Count ¶
func (m *Account) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Account) DeleteByAccountID ¶
func (m *Account) DeleteByAccountID(db sqlx.DBExecutor) error
func (*Account) DeleteByID ¶ added in v1.1.0
func (m *Account) DeleteByID(db sqlx.DBExecutor) error
func (*Account) FetchByAccountID ¶
func (m *Account) FetchByAccountID(db sqlx.DBExecutor) error
func (*Account) FieldAccountID ¶
func (*Account) FieldAvatar ¶ added in v1.1.0
func (*Account) FieldCreatedAt ¶
func (*Account) FieldDeletedAt ¶
func (*Account) FieldOperatorPrivateKey ¶ added in v1.1.0
func (*Account) FieldState ¶
func (*Account) FieldUpdatedAt ¶
func (*Account) IndexFieldNames ¶
func (*Account) List ¶
func (m *Account) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Account, error)
func (*Account) PrimaryKey ¶
func (*Account) SoftDeleteByAccountID ¶
func (m *Account) SoftDeleteByAccountID(db sqlx.DBExecutor) error
func (*Account) SoftDeleteByID ¶ added in v1.1.0
func (m *Account) SoftDeleteByID(db sqlx.DBExecutor) error
func (*Account) UniqueIndexUIAccountID ¶ added in v1.1.0
func (*Account) UniqueIndexes ¶
func (*Account) UpdateByAccountID ¶
func (m *Account) UpdateByAccountID(db sqlx.DBExecutor, zeros ...string) error
func (*Account) UpdateByAccountIDWithFVs ¶
func (m *Account) UpdateByAccountIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Account) UpdateByID ¶ added in v1.1.0
func (m *Account) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Account) UpdateByIDWithFVs ¶ added in v1.1.0
func (m *Account) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type AccountAccessKey ¶ added in v1.2.5
type AccountAccessKey struct { datatypes.PrimaryID RelAccount AccountAccessKeyInfo datatypes.OperationTimesWithDeleted }
AccountAPIKey account api access key @def primary ID @def unique_index ui_account_key_name AccountID Name @def unique_index ui_access_key AccessKey
func (*AccountAccessKey) ColAccessKey ¶ added in v1.2.5
func (m *AccountAccessKey) ColAccessKey() *builder.Column
func (*AccountAccessKey) ColAccountID ¶ added in v1.2.5
func (m *AccountAccessKey) ColAccountID() *builder.Column
func (*AccountAccessKey) ColCreatedAt ¶ added in v1.2.5
func (m *AccountAccessKey) ColCreatedAt() *builder.Column
func (*AccountAccessKey) ColDeletedAt ¶ added in v1.2.5
func (m *AccountAccessKey) ColDeletedAt() *builder.Column
func (*AccountAccessKey) ColDesc ¶ added in v1.2.5
func (*AccountAccessKey) ColDesc() map[string][]string
func (*AccountAccessKey) ColDescription ¶ added in v1.2.5
func (m *AccountAccessKey) ColDescription() *builder.Column
func (*AccountAccessKey) ColExpiredAt ¶ added in v1.2.5
func (m *AccountAccessKey) ColExpiredAt() *builder.Column
func (*AccountAccessKey) ColID ¶ added in v1.2.5
func (m *AccountAccessKey) ColID() *builder.Column
func (*AccountAccessKey) ColName ¶ added in v1.2.5
func (m *AccountAccessKey) ColName() *builder.Column
func (*AccountAccessKey) ColRel ¶ added in v1.2.5
func (*AccountAccessKey) ColRel() map[string][]string
func (*AccountAccessKey) ColUpdatedAt ¶ added in v1.2.5
func (m *AccountAccessKey) ColUpdatedAt() *builder.Column
func (*AccountAccessKey) Comments ¶ added in v1.2.5
func (*AccountAccessKey) Comments() map[string]string
func (*AccountAccessKey) CondByValue ¶ added in v1.2.5
func (m *AccountAccessKey) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*AccountAccessKey) Count ¶ added in v1.2.5
func (m *AccountAccessKey) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*AccountAccessKey) Create ¶ added in v1.2.5
func (m *AccountAccessKey) Create(db sqlx.DBExecutor) error
func (*AccountAccessKey) Delete ¶ added in v1.2.5
func (m *AccountAccessKey) Delete(db sqlx.DBExecutor) error
func (*AccountAccessKey) DeleteByAccessKey ¶ added in v1.2.5
func (m *AccountAccessKey) DeleteByAccessKey(db sqlx.DBExecutor) error
func (*AccountAccessKey) DeleteByAccountIDAndName ¶ added in v1.2.5
func (m *AccountAccessKey) DeleteByAccountIDAndName(db sqlx.DBExecutor) error
func (*AccountAccessKey) DeleteByID ¶ added in v1.2.5
func (m *AccountAccessKey) DeleteByID(db sqlx.DBExecutor) error
func (*AccountAccessKey) FetchByAccessKey ¶ added in v1.2.5
func (m *AccountAccessKey) FetchByAccessKey(db sqlx.DBExecutor) error
func (*AccountAccessKey) FetchByAccountIDAndName ¶ added in v1.2.5
func (m *AccountAccessKey) FetchByAccountIDAndName(db sqlx.DBExecutor) error
func (*AccountAccessKey) FetchByID ¶ added in v1.2.5
func (m *AccountAccessKey) FetchByID(db sqlx.DBExecutor) error
func (*AccountAccessKey) FieldAccessKey ¶ added in v1.2.5
func (*AccountAccessKey) FieldAccessKey() string
func (*AccountAccessKey) FieldAccountID ¶ added in v1.2.5
func (*AccountAccessKey) FieldAccountID() string
func (*AccountAccessKey) FieldCreatedAt ¶ added in v1.2.5
func (*AccountAccessKey) FieldCreatedAt() string
func (*AccountAccessKey) FieldDeletedAt ¶ added in v1.2.5
func (*AccountAccessKey) FieldDeletedAt() string
func (*AccountAccessKey) FieldDescription ¶ added in v1.2.5
func (*AccountAccessKey) FieldDescription() string
func (*AccountAccessKey) FieldExpiredAt ¶ added in v1.2.5
func (*AccountAccessKey) FieldExpiredAt() string
func (*AccountAccessKey) FieldID ¶ added in v1.2.5
func (*AccountAccessKey) FieldID() string
func (*AccountAccessKey) FieldName ¶ added in v1.2.5
func (*AccountAccessKey) FieldName() string
func (*AccountAccessKey) FieldUpdatedAt ¶ added in v1.2.5
func (*AccountAccessKey) FieldUpdatedAt() string
func (*AccountAccessKey) IndexFieldNames ¶ added in v1.2.5
func (m *AccountAccessKey) IndexFieldNames() []string
func (*AccountAccessKey) List ¶ added in v1.2.5
func (m *AccountAccessKey) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]AccountAccessKey, error)
func (*AccountAccessKey) PrimaryKey ¶ added in v1.2.5
func (*AccountAccessKey) PrimaryKey() []string
func (*AccountAccessKey) SoftDeleteByAccessKey ¶ added in v1.2.5
func (m *AccountAccessKey) SoftDeleteByAccessKey(db sqlx.DBExecutor) error
func (*AccountAccessKey) SoftDeleteByAccountIDAndName ¶ added in v1.2.5
func (m *AccountAccessKey) SoftDeleteByAccountIDAndName(db sqlx.DBExecutor) error
func (*AccountAccessKey) SoftDeleteByID ¶ added in v1.2.5
func (m *AccountAccessKey) SoftDeleteByID(db sqlx.DBExecutor) error
func (*AccountAccessKey) TableDesc ¶ added in v1.2.5
func (*AccountAccessKey) TableDesc() []string
func (*AccountAccessKey) TableName ¶ added in v1.2.5
func (*AccountAccessKey) TableName() string
func (*AccountAccessKey) UniqueIndexUIAccessKey ¶ added in v1.2.5
func (*AccountAccessKey) UniqueIndexUIAccessKey() string
func (*AccountAccessKey) UniqueIndexUIAccountKeyName ¶ added in v1.2.5
func (*AccountAccessKey) UniqueIndexUIAccountKeyName() string
func (*AccountAccessKey) UniqueIndexes ¶ added in v1.2.5
func (*AccountAccessKey) UniqueIndexes() builder.Indexes
func (*AccountAccessKey) UpdateByAccessKey ¶ added in v1.2.5
func (m *AccountAccessKey) UpdateByAccessKey(db sqlx.DBExecutor, zeros ...string) error
func (*AccountAccessKey) UpdateByAccessKeyWithFVs ¶ added in v1.2.5
func (m *AccountAccessKey) UpdateByAccessKeyWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*AccountAccessKey) UpdateByAccountIDAndName ¶ added in v1.2.5
func (m *AccountAccessKey) UpdateByAccountIDAndName(db sqlx.DBExecutor, zeros ...string) error
func (*AccountAccessKey) UpdateByAccountIDAndNameWithFVs ¶ added in v1.2.5
func (m *AccountAccessKey) UpdateByAccountIDAndNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*AccountAccessKey) UpdateByID ¶ added in v1.2.5
func (m *AccountAccessKey) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*AccountAccessKey) UpdateByIDWithFVs ¶ added in v1.2.5
func (m *AccountAccessKey) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type AccountAccessKeyInfo ¶ added in v1.2.5
type AccountAccessKeyIterator ¶ added in v1.2.5
type AccountAccessKeyIterator struct { }
func (*AccountAccessKeyIterator) New ¶ added in v1.2.5
func (*AccountAccessKeyIterator) New() interface{}
func (*AccountAccessKeyIterator) Resolve ¶ added in v1.2.5
func (*AccountAccessKeyIterator) Resolve(v interface{}) *AccountAccessKey
type AccountIdentity ¶ added in v1.1.0
type AccountIdentity struct { datatypes.PrimaryID RelAccount AccountIdentityInfo datatypes.OperationTimesWithDeleted }
AccountIdentity account identity @def primary ID @def unique_index ui_account_identity AccountID Type @def unique_index ui_identity_id Type IdentityID @def index i_identity_id IdentityID @def index i_source Source
func (*AccountIdentity) ColAccountID ¶ added in v1.1.0
func (m *AccountIdentity) ColAccountID() *builder.Column
func (*AccountIdentity) ColCreatedAt ¶ added in v1.1.0
func (m *AccountIdentity) ColCreatedAt() *builder.Column
func (*AccountIdentity) ColDeletedAt ¶ added in v1.1.0
func (m *AccountIdentity) ColDeletedAt() *builder.Column
func (*AccountIdentity) ColDesc ¶ added in v1.1.0
func (*AccountIdentity) ColDesc() map[string][]string
func (*AccountIdentity) ColID ¶ added in v1.1.0
func (m *AccountIdentity) ColID() *builder.Column
func (*AccountIdentity) ColIdentityID ¶ added in v1.1.0
func (m *AccountIdentity) ColIdentityID() *builder.Column
func (*AccountIdentity) ColMeta ¶ added in v1.1.0
func (m *AccountIdentity) ColMeta() *builder.Column
func (*AccountIdentity) ColRel ¶ added in v1.1.0
func (*AccountIdentity) ColRel() map[string][]string
func (*AccountIdentity) ColSource ¶ added in v1.1.0
func (m *AccountIdentity) ColSource() *builder.Column
func (*AccountIdentity) ColType ¶ added in v1.1.0
func (m *AccountIdentity) ColType() *builder.Column
func (*AccountIdentity) ColUpdatedAt ¶ added in v1.1.0
func (m *AccountIdentity) ColUpdatedAt() *builder.Column
func (*AccountIdentity) Comments ¶ added in v1.1.0
func (*AccountIdentity) Comments() map[string]string
func (*AccountIdentity) CondByValue ¶ added in v1.1.0
func (m *AccountIdentity) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*AccountIdentity) Count ¶ added in v1.1.0
func (m *AccountIdentity) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*AccountIdentity) Create ¶ added in v1.1.0
func (m *AccountIdentity) Create(db sqlx.DBExecutor) error
func (*AccountIdentity) Delete ¶ added in v1.1.0
func (m *AccountIdentity) Delete(db sqlx.DBExecutor) error
func (*AccountIdentity) DeleteByAccountIDAndType ¶ added in v1.1.0
func (m *AccountIdentity) DeleteByAccountIDAndType(db sqlx.DBExecutor) error
func (*AccountIdentity) DeleteByID ¶ added in v1.1.0
func (m *AccountIdentity) DeleteByID(db sqlx.DBExecutor) error
func (*AccountIdentity) DeleteByTypeAndIdentityID ¶ added in v1.1.0
func (m *AccountIdentity) DeleteByTypeAndIdentityID(db sqlx.DBExecutor) error
func (*AccountIdentity) FetchByAccountIDAndType ¶ added in v1.1.0
func (m *AccountIdentity) FetchByAccountIDAndType(db sqlx.DBExecutor) error
func (*AccountIdentity) FetchByID ¶ added in v1.1.0
func (m *AccountIdentity) FetchByID(db sqlx.DBExecutor) error
func (*AccountIdentity) FetchByTypeAndIdentityID ¶ added in v1.1.0
func (m *AccountIdentity) FetchByTypeAndIdentityID(db sqlx.DBExecutor) error
func (*AccountIdentity) FieldAccountID ¶ added in v1.1.0
func (*AccountIdentity) FieldAccountID() string
func (*AccountIdentity) FieldCreatedAt ¶ added in v1.1.0
func (*AccountIdentity) FieldCreatedAt() string
func (*AccountIdentity) FieldDeletedAt ¶ added in v1.1.0
func (*AccountIdentity) FieldDeletedAt() string
func (*AccountIdentity) FieldID ¶ added in v1.1.0
func (*AccountIdentity) FieldID() string
func (*AccountIdentity) FieldIdentityID ¶ added in v1.1.0
func (*AccountIdentity) FieldIdentityID() string
func (*AccountIdentity) FieldMeta ¶ added in v1.1.0
func (*AccountIdentity) FieldMeta() string
func (*AccountIdentity) FieldSource ¶ added in v1.1.0
func (*AccountIdentity) FieldSource() string
func (*AccountIdentity) FieldType ¶ added in v1.1.0
func (*AccountIdentity) FieldType() string
func (*AccountIdentity) FieldUpdatedAt ¶ added in v1.1.0
func (*AccountIdentity) FieldUpdatedAt() string
func (*AccountIdentity) IndexFieldNames ¶ added in v1.1.0
func (m *AccountIdentity) IndexFieldNames() []string
func (*AccountIdentity) Indexes ¶ added in v1.1.0
func (*AccountIdentity) Indexes() builder.Indexes
func (*AccountIdentity) List ¶ added in v1.1.0
func (m *AccountIdentity) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]AccountIdentity, error)
func (*AccountIdentity) PrimaryKey ¶ added in v1.1.0
func (*AccountIdentity) PrimaryKey() []string
func (*AccountIdentity) SoftDeleteByAccountIDAndType ¶ added in v1.1.0
func (m *AccountIdentity) SoftDeleteByAccountIDAndType(db sqlx.DBExecutor) error
func (*AccountIdentity) SoftDeleteByID ¶ added in v1.1.0
func (m *AccountIdentity) SoftDeleteByID(db sqlx.DBExecutor) error
func (*AccountIdentity) SoftDeleteByTypeAndIdentityID ¶ added in v1.1.0
func (m *AccountIdentity) SoftDeleteByTypeAndIdentityID(db sqlx.DBExecutor) error
func (*AccountIdentity) TableDesc ¶ added in v1.1.0
func (*AccountIdentity) TableDesc() []string
func (*AccountIdentity) TableName ¶ added in v1.1.0
func (*AccountIdentity) TableName() string
func (*AccountIdentity) UniqueIndexUIAccountIdentity ¶ added in v1.1.0
func (*AccountIdentity) UniqueIndexUIAccountIdentity() string
func (*AccountIdentity) UniqueIndexUIIdentityID ¶ added in v1.1.0
func (*AccountIdentity) UniqueIndexUIIdentityID() string
func (*AccountIdentity) UniqueIndexes ¶ added in v1.1.0
func (*AccountIdentity) UniqueIndexes() builder.Indexes
func (*AccountIdentity) UpdateByAccountIDAndType ¶ added in v1.1.0
func (m *AccountIdentity) UpdateByAccountIDAndType(db sqlx.DBExecutor, zeros ...string) error
func (*AccountIdentity) UpdateByAccountIDAndTypeWithFVs ¶ added in v1.1.0
func (m *AccountIdentity) UpdateByAccountIDAndTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*AccountIdentity) UpdateByID ¶ added in v1.1.0
func (m *AccountIdentity) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*AccountIdentity) UpdateByIDWithFVs ¶ added in v1.1.0
func (m *AccountIdentity) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*AccountIdentity) UpdateByTypeAndIdentityID ¶ added in v1.1.0
func (m *AccountIdentity) UpdateByTypeAndIdentityID(db sqlx.DBExecutor, zeros ...string) error
func (*AccountIdentity) UpdateByTypeAndIdentityIDWithFVs ¶ added in v1.1.0
func (m *AccountIdentity) UpdateByTypeAndIdentityIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type AccountIdentityInfo ¶ added in v1.1.0
type AccountIdentityInfo struct { Type enums.AccountIdentityType `db:"f_type" json:"type"` IdentityID string `db:"f_identity_id" json:"identityID"` Source enums.AccountSource `db:"f_source" json:"source"` Meta Meta `db:"f_meta,default=''" json:"meta"` }
type AccountIdentityIterator ¶ added in v1.1.0
type AccountIdentityIterator struct { }
func (*AccountIdentityIterator) New ¶ added in v1.1.0
func (*AccountIdentityIterator) New() interface{}
func (*AccountIdentityIterator) Resolve ¶ added in v1.1.0
func (*AccountIdentityIterator) Resolve(v interface{}) *AccountIdentity
type AccountInfo ¶
type AccountInfo struct { Role enums.AccountRole `db:"f_role,default=2" json:"role"` State enums.AccountState `db:"f_state,default='1'" json:"state"` Avatar string `db:"f_avatar,default=''" json:"avatar,omitempty"` Meta Meta `db:"f_meta,default='{}'" json:"meta,omitempty"` OperatorPrivateKey string `db:"f_prvkey,default=''" json:"-"` // Deprecated: pls use pkg/modules/operator }
type AccountIterator ¶
type AccountIterator struct { }
func (*AccountIterator) New ¶
func (*AccountIterator) New() interface{}
func (*AccountIterator) Resolve ¶
func (*AccountIterator) Resolve(v interface{}) *Account
type AccountPassword ¶
type AccountPassword struct { RelAccount RelAccountPassword AccountPasswordData datatypes.OperationTimesWithDeleted }
AccountPassword account password @def primary PasswordID @def unique_index ui_account_password AccountID Type DeletedAt
func (*AccountPassword) ColAccountID ¶ added in v1.1.0
func (m *AccountPassword) ColAccountID() *builder.Column
func (*AccountPassword) ColCreatedAt ¶ added in v1.1.0
func (m *AccountPassword) ColCreatedAt() *builder.Column
func (*AccountPassword) ColDeletedAt ¶ added in v1.1.0
func (m *AccountPassword) ColDeletedAt() *builder.Column
func (*AccountPassword) ColDesc ¶ added in v1.1.0
func (*AccountPassword) ColDesc() map[string][]string
func (*AccountPassword) ColPassword ¶ added in v1.1.0
func (m *AccountPassword) ColPassword() *builder.Column
func (*AccountPassword) ColPasswordID ¶ added in v1.1.0
func (m *AccountPassword) ColPasswordID() *builder.Column
func (*AccountPassword) ColRel ¶ added in v1.1.0
func (*AccountPassword) ColRel() map[string][]string
func (*AccountPassword) ColRemark ¶ added in v1.1.0
func (m *AccountPassword) ColRemark() *builder.Column
func (*AccountPassword) ColScope ¶ added in v1.1.0
func (m *AccountPassword) ColScope() *builder.Column
func (*AccountPassword) ColType ¶ added in v1.1.0
func (m *AccountPassword) ColType() *builder.Column
func (*AccountPassword) ColUpdatedAt ¶ added in v1.1.0
func (m *AccountPassword) ColUpdatedAt() *builder.Column
func (*AccountPassword) Comments ¶ added in v1.1.0
func (*AccountPassword) Comments() map[string]string
func (*AccountPassword) CondByValue ¶ added in v1.1.0
func (m *AccountPassword) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*AccountPassword) Count ¶ added in v1.1.0
func (m *AccountPassword) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*AccountPassword) Create ¶ added in v1.1.0
func (m *AccountPassword) Create(db sqlx.DBExecutor) error
func (*AccountPassword) Delete ¶ added in v1.1.0
func (m *AccountPassword) Delete(db sqlx.DBExecutor) error
func (*AccountPassword) DeleteByAccountIDAndType ¶ added in v1.1.0
func (m *AccountPassword) DeleteByAccountIDAndType(db sqlx.DBExecutor) error
func (*AccountPassword) DeleteByPasswordID ¶ added in v1.1.0
func (m *AccountPassword) DeleteByPasswordID(db sqlx.DBExecutor) error
func (*AccountPassword) FetchByAccountIDAndType ¶ added in v1.1.0
func (m *AccountPassword) FetchByAccountIDAndType(db sqlx.DBExecutor) error
func (*AccountPassword) FetchByPasswordID ¶ added in v1.1.0
func (m *AccountPassword) FetchByPasswordID(db sqlx.DBExecutor) error
func (*AccountPassword) FieldAccountID ¶ added in v1.1.0
func (*AccountPassword) FieldAccountID() string
func (*AccountPassword) FieldCreatedAt ¶ added in v1.1.0
func (*AccountPassword) FieldCreatedAt() string
func (*AccountPassword) FieldDeletedAt ¶ added in v1.1.0
func (*AccountPassword) FieldDeletedAt() string
func (*AccountPassword) FieldPassword ¶ added in v1.1.0
func (*AccountPassword) FieldPassword() string
func (*AccountPassword) FieldPasswordID ¶ added in v1.1.0
func (*AccountPassword) FieldPasswordID() string
func (*AccountPassword) FieldRemark ¶ added in v1.1.0
func (*AccountPassword) FieldRemark() string
func (*AccountPassword) FieldScope ¶ added in v1.1.0
func (*AccountPassword) FieldScope() string
func (*AccountPassword) FieldType ¶ added in v1.1.0
func (*AccountPassword) FieldType() string
func (*AccountPassword) FieldUpdatedAt ¶ added in v1.1.0
func (*AccountPassword) FieldUpdatedAt() string
func (*AccountPassword) IndexFieldNames ¶ added in v1.1.0
func (m *AccountPassword) IndexFieldNames() []string
func (*AccountPassword) List ¶ added in v1.1.0
func (m *AccountPassword) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]AccountPassword, error)
func (*AccountPassword) PrimaryKey ¶ added in v1.1.0
func (*AccountPassword) PrimaryKey() []string
func (*AccountPassword) SoftDeleteByAccountIDAndType ¶ added in v1.1.0
func (m *AccountPassword) SoftDeleteByAccountIDAndType(db sqlx.DBExecutor) error
func (*AccountPassword) SoftDeleteByPasswordID ¶ added in v1.1.0
func (m *AccountPassword) SoftDeleteByPasswordID(db sqlx.DBExecutor) error
func (*AccountPassword) TableDesc ¶ added in v1.1.0
func (*AccountPassword) TableDesc() []string
func (*AccountPassword) TableName ¶ added in v1.1.0
func (*AccountPassword) TableName() string
func (*AccountPassword) UniqueIndexUIAccountPassword ¶ added in v1.1.0
func (*AccountPassword) UniqueIndexUIAccountPassword() string
func (*AccountPassword) UniqueIndexes ¶ added in v1.1.0
func (*AccountPassword) UniqueIndexes() builder.Indexes
func (*AccountPassword) UpdateByAccountIDAndType ¶ added in v1.1.0
func (m *AccountPassword) UpdateByAccountIDAndType(db sqlx.DBExecutor, zeros ...string) error
func (*AccountPassword) UpdateByAccountIDAndTypeWithFVs ¶ added in v1.1.0
func (m *AccountPassword) UpdateByAccountIDAndTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*AccountPassword) UpdateByPasswordID ¶ added in v1.1.0
func (m *AccountPassword) UpdateByPasswordID(db sqlx.DBExecutor, zeros ...string) error
func (*AccountPassword) UpdateByPasswordIDWithFVs ¶ added in v1.1.0
func (m *AccountPassword) UpdateByPasswordIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type AccountPasswordData ¶ added in v1.1.0
type AccountPasswordData struct { Type enums.PasswordType `db:"f_type" json:"type,omitempty"` // Type password type Password string `db:"f_password,size=32" json:"password"` // Password md5(md5(${account_id}-${password})) Scope string `db:"f_scope,default=''" json:"scope,omitempty"` // Scope comma separated Remark string `db:"f_remark,default=''" json:"remark,omitempty"` // Remark }
type AccountPasswordIterator ¶ added in v1.1.0
type AccountPasswordIterator struct { }
func (*AccountPasswordIterator) New ¶ added in v1.1.0
func (*AccountPasswordIterator) New() interface{}
func (*AccountPasswordIterator) Resolve ¶ added in v1.1.0
func (*AccountPasswordIterator) Resolve(v interface{}) *AccountPassword
type Applet ¶
type Applet struct { datatypes.PrimaryID RelProject RelApplet RelResource AppletInfo datatypes.OperationTimes }
Applet database model applet @def primary ID @def unique_index UI_applet_id AppletID @def unique_index UI_project_name ProjectID Name
func (*Applet) ColAppletID ¶
func (*Applet) ColCreatedAt ¶
func (*Applet) ColProjectID ¶
func (*Applet) ColResourceID ¶
func (*Applet) ColUpdatedAt ¶
func (*Applet) CondByValue ¶
func (m *Applet) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Applet) Count ¶
func (m *Applet) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Applet) DeleteByAppletID ¶
func (m *Applet) DeleteByAppletID(db sqlx.DBExecutor) error
func (*Applet) DeleteByID ¶
func (m *Applet) DeleteByID(db sqlx.DBExecutor) error
func (*Applet) DeleteByProjectIDAndName ¶
func (m *Applet) DeleteByProjectIDAndName(db sqlx.DBExecutor) error
func (*Applet) FetchByAppletID ¶
func (m *Applet) FetchByAppletID(db sqlx.DBExecutor) error
func (*Applet) FetchByProjectIDAndName ¶
func (m *Applet) FetchByProjectIDAndName(db sqlx.DBExecutor) error
func (*Applet) FieldAppletID ¶
func (*Applet) FieldCreatedAt ¶
func (*Applet) FieldProjectID ¶
func (*Applet) FieldResourceID ¶
func (*Applet) FieldUpdatedAt ¶
func (*Applet) IndexFieldNames ¶
func (*Applet) List ¶
func (m *Applet) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Applet, error)
func (*Applet) PrimaryKey ¶
func (*Applet) UniqueIndexUIAppletID ¶
func (*Applet) UniqueIndexUIProjectName ¶
func (*Applet) UniqueIndexes ¶
func (*Applet) UpdateByAppletID ¶
func (m *Applet) UpdateByAppletID(db sqlx.DBExecutor, zeros ...string) error
func (*Applet) UpdateByAppletIDWithFVs ¶
func (m *Applet) UpdateByAppletIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Applet) UpdateByID ¶
func (m *Applet) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Applet) UpdateByIDWithFVs ¶
func (m *Applet) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Applet) UpdateByProjectIDAndName ¶
func (m *Applet) UpdateByProjectIDAndName(db sqlx.DBExecutor, zeros ...string) error
func (*Applet) UpdateByProjectIDAndNameWithFVs ¶
func (m *Applet) UpdateByProjectIDAndNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type AppletInfo ¶
type AppletInfo struct {
Name string `db:"f_name" json:"name"`
}
type AppletIterator ¶
type AppletIterator struct { }
func (*AppletIterator) New ¶
func (*AppletIterator) New() interface{}
func (*AppletIterator) Resolve ¶
func (*AppletIterator) Resolve(v interface{}) *Applet
type Blockchain ¶
type Blockchain struct { datatypes.PrimaryID RelBlockchain BlockchainInfo datatypes.OperationTimes }
Blockchain database model blockchain @def primary ID @def unique_index UI_chain_id ChainID
func (*Blockchain) ColAddress ¶
func (m *Blockchain) ColAddress() *builder.Column
func (*Blockchain) ColChainID ¶
func (m *Blockchain) ColChainID() *builder.Column
func (*Blockchain) ColCreatedAt ¶
func (m *Blockchain) ColCreatedAt() *builder.Column
func (*Blockchain) ColDesc ¶
func (*Blockchain) ColDesc() map[string][]string
func (*Blockchain) ColID ¶
func (m *Blockchain) ColID() *builder.Column
func (*Blockchain) ColRel ¶
func (*Blockchain) ColRel() map[string][]string
func (*Blockchain) ColUpdatedAt ¶
func (m *Blockchain) ColUpdatedAt() *builder.Column
func (*Blockchain) Comments ¶
func (*Blockchain) Comments() map[string]string
func (*Blockchain) CondByValue ¶
func (m *Blockchain) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Blockchain) Count ¶
func (m *Blockchain) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Blockchain) Create ¶
func (m *Blockchain) Create(db sqlx.DBExecutor) error
func (*Blockchain) Delete ¶
func (m *Blockchain) Delete(db sqlx.DBExecutor) error
func (*Blockchain) DeleteByChainID ¶
func (m *Blockchain) DeleteByChainID(db sqlx.DBExecutor) error
func (*Blockchain) DeleteByID ¶
func (m *Blockchain) DeleteByID(db sqlx.DBExecutor) error
func (*Blockchain) FetchByChainID ¶
func (m *Blockchain) FetchByChainID(db sqlx.DBExecutor) error
func (*Blockchain) FetchByID ¶
func (m *Blockchain) FetchByID(db sqlx.DBExecutor) error
func (*Blockchain) FieldAddress ¶
func (*Blockchain) FieldAddress() string
func (*Blockchain) FieldChainID ¶
func (*Blockchain) FieldChainID() string
func (*Blockchain) FieldCreatedAt ¶
func (*Blockchain) FieldCreatedAt() string
func (*Blockchain) FieldID ¶
func (*Blockchain) FieldID() string
func (*Blockchain) FieldUpdatedAt ¶
func (*Blockchain) FieldUpdatedAt() string
func (*Blockchain) IndexFieldNames ¶
func (m *Blockchain) IndexFieldNames() []string
func (*Blockchain) List ¶
func (m *Blockchain) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Blockchain, error)
func (*Blockchain) PrimaryKey ¶
func (*Blockchain) PrimaryKey() []string
func (*Blockchain) TableDesc ¶
func (*Blockchain) TableDesc() []string
func (*Blockchain) TableName ¶
func (*Blockchain) TableName() string
func (*Blockchain) UniqueIndexUIChainID ¶
func (*Blockchain) UniqueIndexUIChainID() string
func (*Blockchain) UniqueIndexes ¶
func (*Blockchain) UniqueIndexes() builder.Indexes
func (*Blockchain) UpdateByChainID ¶
func (m *Blockchain) UpdateByChainID(db sqlx.DBExecutor, zeros ...string) error
func (*Blockchain) UpdateByChainIDWithFVs ¶
func (m *Blockchain) UpdateByChainIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Blockchain) UpdateByID ¶
func (m *Blockchain) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Blockchain) UpdateByIDWithFVs ¶
func (m *Blockchain) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type BlockchainInfo ¶
type BlockchainInfo struct {
Address string `db:"f_chain_address" json:"chainAddress"`
}
type BlockchainIterator ¶
type BlockchainIterator struct { }
func (*BlockchainIterator) New ¶
func (*BlockchainIterator) New() interface{}
func (*BlockchainIterator) Resolve ¶
func (*BlockchainIterator) Resolve(v interface{}) *Blockchain
type ChainHeight ¶
type ChainHeight struct { datatypes.PrimaryID RelChainHeight ChainHeightData datatypes.OperationTimes }
ChainHeight database model chainheight @def primary ID @def unique_index UI_chain_height_id ChainHeightID @def unique_index UI_chain_height_uniq ProjectName EventType ChainID Height Uniq
func (*ChainHeight) ColChainHeightID ¶
func (m *ChainHeight) ColChainHeightID() *builder.Column
func (*ChainHeight) ColChainID ¶
func (m *ChainHeight) ColChainID() *builder.Column
func (*ChainHeight) ColCreatedAt ¶
func (m *ChainHeight) ColCreatedAt() *builder.Column
func (*ChainHeight) ColDesc ¶
func (*ChainHeight) ColDesc() map[string][]string
func (*ChainHeight) ColEventType ¶
func (m *ChainHeight) ColEventType() *builder.Column
func (*ChainHeight) ColFinished ¶
func (m *ChainHeight) ColFinished() *builder.Column
func (*ChainHeight) ColHeight ¶
func (m *ChainHeight) ColHeight() *builder.Column
func (*ChainHeight) ColID ¶
func (m *ChainHeight) ColID() *builder.Column
func (*ChainHeight) ColPaused ¶ added in v1.2.5
func (m *ChainHeight) ColPaused() *builder.Column
func (*ChainHeight) ColProjectName ¶
func (m *ChainHeight) ColProjectName() *builder.Column
func (*ChainHeight) ColRel ¶
func (*ChainHeight) ColRel() map[string][]string
func (*ChainHeight) ColUniq ¶
func (m *ChainHeight) ColUniq() *builder.Column
func (*ChainHeight) ColUpdatedAt ¶
func (m *ChainHeight) ColUpdatedAt() *builder.Column
func (*ChainHeight) Comments ¶
func (*ChainHeight) Comments() map[string]string
func (*ChainHeight) CondByValue ¶
func (m *ChainHeight) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*ChainHeight) Count ¶
func (m *ChainHeight) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*ChainHeight) Create ¶
func (m *ChainHeight) Create(db sqlx.DBExecutor) error
func (*ChainHeight) Delete ¶
func (m *ChainHeight) Delete(db sqlx.DBExecutor) error
func (*ChainHeight) DeleteByChainHeightID ¶
func (m *ChainHeight) DeleteByChainHeightID(db sqlx.DBExecutor) error
func (*ChainHeight) DeleteByID ¶
func (m *ChainHeight) DeleteByID(db sqlx.DBExecutor) error
func (*ChainHeight) DeleteByProjectNameAndEventTypeAndChainIDAndHeightAndUniq ¶
func (m *ChainHeight) DeleteByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor) error
func (*ChainHeight) FetchByChainHeightID ¶
func (m *ChainHeight) FetchByChainHeightID(db sqlx.DBExecutor) error
func (*ChainHeight) FetchByID ¶
func (m *ChainHeight) FetchByID(db sqlx.DBExecutor) error
func (*ChainHeight) FetchByProjectNameAndEventTypeAndChainIDAndHeightAndUniq ¶
func (m *ChainHeight) FetchByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor) error
func (*ChainHeight) FieldChainHeightID ¶
func (*ChainHeight) FieldChainHeightID() string
func (*ChainHeight) FieldChainID ¶
func (*ChainHeight) FieldChainID() string
func (*ChainHeight) FieldCreatedAt ¶
func (*ChainHeight) FieldCreatedAt() string
func (*ChainHeight) FieldEventType ¶
func (*ChainHeight) FieldEventType() string
func (*ChainHeight) FieldFinished ¶
func (*ChainHeight) FieldFinished() string
func (*ChainHeight) FieldHeight ¶
func (*ChainHeight) FieldHeight() string
func (*ChainHeight) FieldID ¶
func (*ChainHeight) FieldID() string
func (*ChainHeight) FieldPaused ¶ added in v1.2.5
func (*ChainHeight) FieldPaused() string
func (*ChainHeight) FieldProjectName ¶
func (*ChainHeight) FieldProjectName() string
func (*ChainHeight) FieldUniq ¶
func (*ChainHeight) FieldUniq() string
func (*ChainHeight) FieldUpdatedAt ¶
func (*ChainHeight) FieldUpdatedAt() string
func (*ChainHeight) IndexFieldNames ¶
func (m *ChainHeight) IndexFieldNames() []string
func (*ChainHeight) List ¶
func (m *ChainHeight) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainHeight, error)
func (*ChainHeight) PrimaryKey ¶
func (*ChainHeight) PrimaryKey() []string
func (*ChainHeight) TableDesc ¶
func (*ChainHeight) TableDesc() []string
func (*ChainHeight) TableName ¶
func (*ChainHeight) TableName() string
func (*ChainHeight) UniqueIndexUIChainHeightID ¶
func (*ChainHeight) UniqueIndexUIChainHeightID() string
func (*ChainHeight) UniqueIndexUIChainHeightUniq ¶
func (*ChainHeight) UniqueIndexUIChainHeightUniq() string
func (*ChainHeight) UniqueIndexes ¶
func (*ChainHeight) UniqueIndexes() builder.Indexes
func (*ChainHeight) UpdateByChainHeightID ¶
func (m *ChainHeight) UpdateByChainHeightID(db sqlx.DBExecutor, zeros ...string) error
func (*ChainHeight) UpdateByChainHeightIDWithFVs ¶
func (m *ChainHeight) UpdateByChainHeightIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ChainHeight) UpdateByID ¶
func (m *ChainHeight) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*ChainHeight) UpdateByIDWithFVs ¶
func (m *ChainHeight) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniq ¶
func (m *ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor, zeros ...string) error
func (*ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniqWithFVs ¶
func (m *ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ChainHeightData ¶
type ChainHeightInfo ¶
type ChainHeightInfo struct { EventType string `db:"f_event_type" json:"eventType,omitempty,default='MONITOR_DEFAULT'"` ChainID uint64 `db:"f_chain_id" json:"chainID"` Height uint64 `db:"f_height" json:"height"` Paused datatypes.Bool `db:"f_paused,default='2'" json:"paused,omitempty,default='false'"` }
type ChainHeightIterator ¶
type ChainHeightIterator struct { }
func (*ChainHeightIterator) New ¶
func (*ChainHeightIterator) New() interface{}
func (*ChainHeightIterator) Resolve ¶
func (*ChainHeightIterator) Resolve(v interface{}) *ChainHeight
type ChainTx ¶
type ChainTx struct { datatypes.PrimaryID RelChainTx ChainTxData datatypes.OperationTimes }
ChainTx database model chain tx @def primary ID @def unique_index UI_chain_tx_id ChainTxID @def unique_index UI_chain_tx_uniq ProjectName EventType ChainID TxAddress Uniq
func (*ChainTx) ColChainID ¶
func (*ChainTx) ColChainTxID ¶
func (*ChainTx) ColCreatedAt ¶
func (*ChainTx) ColEventType ¶
func (*ChainTx) ColFinished ¶
func (*ChainTx) ColProjectName ¶
func (*ChainTx) ColTxAddress ¶
func (*ChainTx) ColUpdatedAt ¶
func (*ChainTx) CondByValue ¶
func (m *ChainTx) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*ChainTx) Count ¶
func (m *ChainTx) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*ChainTx) DeleteByChainTxID ¶
func (m *ChainTx) DeleteByChainTxID(db sqlx.DBExecutor) error
func (*ChainTx) DeleteByID ¶
func (m *ChainTx) DeleteByID(db sqlx.DBExecutor) error
func (*ChainTx) DeleteByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq ¶
func (m *ChainTx) DeleteByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error
func (*ChainTx) FetchByChainTxID ¶
func (m *ChainTx) FetchByChainTxID(db sqlx.DBExecutor) error
func (*ChainTx) FetchByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq ¶
func (m *ChainTx) FetchByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error
func (*ChainTx) FieldChainID ¶
func (*ChainTx) FieldChainTxID ¶
func (*ChainTx) FieldCreatedAt ¶
func (*ChainTx) FieldEventType ¶
func (*ChainTx) FieldFinished ¶
func (*ChainTx) FieldPaused ¶ added in v1.2.5
func (*ChainTx) FieldProjectName ¶
func (*ChainTx) FieldTxAddress ¶
func (*ChainTx) FieldUpdatedAt ¶
func (*ChainTx) IndexFieldNames ¶
func (*ChainTx) List ¶
func (m *ChainTx) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainTx, error)
func (*ChainTx) PrimaryKey ¶
func (*ChainTx) UniqueIndexUIChainTxID ¶
func (*ChainTx) UniqueIndexUIChainTxUniq ¶
func (*ChainTx) UniqueIndexes ¶
func (*ChainTx) UpdateByChainTxID ¶
func (m *ChainTx) UpdateByChainTxID(db sqlx.DBExecutor, zeros ...string) error
func (*ChainTx) UpdateByChainTxIDWithFVs ¶
func (m *ChainTx) UpdateByChainTxIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ChainTx) UpdateByID ¶
func (m *ChainTx) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*ChainTx) UpdateByIDWithFVs ¶
func (m *ChainTx) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq ¶
func (m *ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor, zeros ...string) error
func (*ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniqWithFVs ¶
func (m *ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ChainTxData ¶
type ChainTxInfo ¶
type ChainTxInfo struct { EventType string `db:"f_event_type" json:"eventType,omitempty,default='MONITOR_DEFAULT'"` ChainID uint64 `db:"f_chain_id" json:"chainID"` TxAddress string `db:"f_tx_address" json:"txAddress"` Paused datatypes.Bool `db:"f_paused,default='2'" json:"paused,omitempty,default='false'"` }
type ChainTxIterator ¶
type ChainTxIterator struct { }
func (*ChainTxIterator) New ¶
func (*ChainTxIterator) New() interface{}
func (*ChainTxIterator) Resolve ¶
func (*ChainTxIterator) Resolve(v interface{}) *ChainTx
type Config ¶ added in v1.0.0
type Config struct { datatypes.PrimaryID RelConfig ConfigBase datatypes.OperationTimes }
Config database model config for configuration management @def primary ID @def unique_index UI_config_id ConfigID @def unique_index UI_rel_type RelID Type
func (*Config) ColConfigID ¶ added in v1.0.0
func (*Config) ColCreatedAt ¶ added in v1.0.0
func (*Config) ColUpdatedAt ¶ added in v1.0.0
func (*Config) CondByValue ¶ added in v1.0.0
func (m *Config) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Config) Count ¶ added in v1.0.0
func (m *Config) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Config) DeleteByConfigID ¶ added in v1.0.0
func (m *Config) DeleteByConfigID(db sqlx.DBExecutor) error
func (*Config) DeleteByID ¶ added in v1.0.0
func (m *Config) DeleteByID(db sqlx.DBExecutor) error
func (*Config) DeleteByRelIDAndType ¶ added in v1.0.0
func (m *Config) DeleteByRelIDAndType(db sqlx.DBExecutor) error
func (*Config) FetchByConfigID ¶ added in v1.0.0
func (m *Config) FetchByConfigID(db sqlx.DBExecutor) error
func (*Config) FetchByRelIDAndType ¶ added in v1.0.0
func (m *Config) FetchByRelIDAndType(db sqlx.DBExecutor) error
func (*Config) FieldConfigID ¶ added in v1.0.0
func (*Config) FieldCreatedAt ¶ added in v1.0.0
func (*Config) FieldRelID ¶ added in v1.0.0
func (*Config) FieldUpdatedAt ¶ added in v1.0.0
func (*Config) FieldValue ¶ added in v1.0.0
func (*Config) IndexFieldNames ¶ added in v1.0.0
func (*Config) List ¶ added in v1.0.0
func (m *Config) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Config, error)
func (*Config) PrimaryKey ¶ added in v1.0.0
func (*Config) UniqueIndexUIConfigID ¶ added in v1.0.0
func (*Config) UniqueIndexUIRelType ¶ added in v1.0.0
func (*Config) UniqueIndexes ¶ added in v1.0.0
func (*Config) UpdateByConfigID ¶ added in v1.0.0
func (m *Config) UpdateByConfigID(db sqlx.DBExecutor, zeros ...string) error
func (*Config) UpdateByConfigIDWithFVs ¶ added in v1.0.0
func (m *Config) UpdateByConfigIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Config) UpdateByID ¶ added in v1.0.0
func (m *Config) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Config) UpdateByIDWithFVs ¶ added in v1.0.0
func (m *Config) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Config) UpdateByRelIDAndType ¶ added in v1.0.0
func (m *Config) UpdateByRelIDAndType(db sqlx.DBExecutor, zeros ...string) error
func (*Config) UpdateByRelIDAndTypeWithFVs ¶ added in v1.0.0
func (m *Config) UpdateByRelIDAndTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ConfigBase ¶ added in v1.0.0
type ConfigBase struct { RelID types.SFID `db:"f_rel_id" json:"relID"` Type enums.ConfigType `db:"f_type" json:"type"` Value []byte `db:"f_value,default=''" json:"-"` }
type ConfigIterator ¶ added in v1.0.0
type ConfigIterator struct { }
func (*ConfigIterator) New ¶ added in v1.0.0
func (*ConfigIterator) New() interface{}
func (*ConfigIterator) Resolve ¶ added in v1.0.0
func (*ConfigIterator) Resolve(v interface{}) *Config
type ContractLog ¶
type ContractLog struct { datatypes.PrimaryID RelContractLog ContractLogData datatypes.OperationTimes }
ContractLog database model contract log @def primary ID @def unique_index UI_contract_log_id ContractLogID @def unique_index UI_contract_log_uniq ProjectName EventType ChainID ContractAddress BlockStart BlockEnd Topic0 Topic1 Topic2 Topic3 Uniq
func (*ContractLog) ColBlockCurrent ¶
func (m *ContractLog) ColBlockCurrent() *builder.Column
func (*ContractLog) ColBlockEnd ¶
func (m *ContractLog) ColBlockEnd() *builder.Column
func (*ContractLog) ColBlockStart ¶
func (m *ContractLog) ColBlockStart() *builder.Column
func (*ContractLog) ColChainID ¶
func (m *ContractLog) ColChainID() *builder.Column
func (*ContractLog) ColContractAddress ¶
func (m *ContractLog) ColContractAddress() *builder.Column
func (*ContractLog) ColContractLogID ¶
func (m *ContractLog) ColContractLogID() *builder.Column
func (*ContractLog) ColCreatedAt ¶
func (m *ContractLog) ColCreatedAt() *builder.Column
func (*ContractLog) ColDesc ¶
func (*ContractLog) ColDesc() map[string][]string
func (*ContractLog) ColEventType ¶
func (m *ContractLog) ColEventType() *builder.Column
func (*ContractLog) ColID ¶
func (m *ContractLog) ColID() *builder.Column
func (*ContractLog) ColPaused ¶ added in v1.2.5
func (m *ContractLog) ColPaused() *builder.Column
func (*ContractLog) ColProjectName ¶
func (m *ContractLog) ColProjectName() *builder.Column
func (*ContractLog) ColRel ¶
func (*ContractLog) ColRel() map[string][]string
func (*ContractLog) ColTopic0 ¶
func (m *ContractLog) ColTopic0() *builder.Column
func (*ContractLog) ColTopic1 ¶
func (m *ContractLog) ColTopic1() *builder.Column
func (*ContractLog) ColTopic2 ¶
func (m *ContractLog) ColTopic2() *builder.Column
func (*ContractLog) ColTopic3 ¶
func (m *ContractLog) ColTopic3() *builder.Column
func (*ContractLog) ColUniq ¶
func (m *ContractLog) ColUniq() *builder.Column
func (*ContractLog) ColUpdatedAt ¶
func (m *ContractLog) ColUpdatedAt() *builder.Column
func (*ContractLog) Comments ¶
func (*ContractLog) Comments() map[string]string
func (*ContractLog) CondByValue ¶
func (m *ContractLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*ContractLog) Count ¶
func (m *ContractLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*ContractLog) Create ¶
func (m *ContractLog) Create(db sqlx.DBExecutor) error
func (*ContractLog) Delete ¶
func (m *ContractLog) Delete(db sqlx.DBExecutor) error
func (*ContractLog) DeleteByContractLogID ¶
func (m *ContractLog) DeleteByContractLogID(db sqlx.DBExecutor) error
func (*ContractLog) DeleteByID ¶
func (m *ContractLog) DeleteByID(db sqlx.DBExecutor) error
func (*ContractLog) DeleteByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq ¶ added in v1.1.0
func (m *ContractLog) DeleteByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor) error
func (*ContractLog) FetchByContractLogID ¶
func (m *ContractLog) FetchByContractLogID(db sqlx.DBExecutor) error
func (*ContractLog) FetchByID ¶
func (m *ContractLog) FetchByID(db sqlx.DBExecutor) error
func (*ContractLog) FetchByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq ¶ added in v1.1.0
func (m *ContractLog) FetchByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor) error
func (*ContractLog) FieldBlockCurrent ¶
func (*ContractLog) FieldBlockCurrent() string
func (*ContractLog) FieldBlockEnd ¶
func (*ContractLog) FieldBlockEnd() string
func (*ContractLog) FieldBlockStart ¶
func (*ContractLog) FieldBlockStart() string
func (*ContractLog) FieldChainID ¶
func (*ContractLog) FieldChainID() string
func (*ContractLog) FieldContractAddress ¶
func (*ContractLog) FieldContractAddress() string
func (*ContractLog) FieldContractLogID ¶
func (*ContractLog) FieldContractLogID() string
func (*ContractLog) FieldCreatedAt ¶
func (*ContractLog) FieldCreatedAt() string
func (*ContractLog) FieldEventType ¶
func (*ContractLog) FieldEventType() string
func (*ContractLog) FieldID ¶
func (*ContractLog) FieldID() string
func (*ContractLog) FieldPaused ¶ added in v1.2.5
func (*ContractLog) FieldPaused() string
func (*ContractLog) FieldProjectName ¶
func (*ContractLog) FieldProjectName() string
func (*ContractLog) FieldTopic0 ¶
func (*ContractLog) FieldTopic0() string
func (*ContractLog) FieldTopic1 ¶
func (*ContractLog) FieldTopic1() string
func (*ContractLog) FieldTopic2 ¶
func (*ContractLog) FieldTopic2() string
func (*ContractLog) FieldTopic3 ¶
func (*ContractLog) FieldTopic3() string
func (*ContractLog) FieldUniq ¶
func (*ContractLog) FieldUniq() string
func (*ContractLog) FieldUpdatedAt ¶
func (*ContractLog) FieldUpdatedAt() string
func (*ContractLog) IndexFieldNames ¶
func (m *ContractLog) IndexFieldNames() []string
func (*ContractLog) List ¶
func (m *ContractLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ContractLog, error)
func (*ContractLog) PrimaryKey ¶
func (*ContractLog) PrimaryKey() []string
func (*ContractLog) TableDesc ¶
func (*ContractLog) TableDesc() []string
func (*ContractLog) TableName ¶
func (*ContractLog) TableName() string
func (*ContractLog) UniqueIndexUIContractLogID ¶
func (*ContractLog) UniqueIndexUIContractLogID() string
func (*ContractLog) UniqueIndexUIContractLogUniq ¶
func (*ContractLog) UniqueIndexUIContractLogUniq() string
func (*ContractLog) UniqueIndexes ¶
func (*ContractLog) UniqueIndexes() builder.Indexes
func (*ContractLog) UpdateByContractLogID ¶
func (m *ContractLog) UpdateByContractLogID(db sqlx.DBExecutor, zeros ...string) error
func (*ContractLog) UpdateByContractLogIDWithFVs ¶
func (m *ContractLog) UpdateByContractLogIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ContractLog) UpdateByID ¶
func (m *ContractLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*ContractLog) UpdateByIDWithFVs ¶
func (m *ContractLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq ¶ added in v1.1.0
func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor, zeros ...string) error
func (*ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniqWithFVs ¶ added in v1.1.0
func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndBlockStartAndBlockEndAndTopic0AndTopic1AndTopic2AndTopic3AndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ContractLogData ¶
type ContractLogData struct { ProjectName string `db:"f_project_name" json:"projectName"` Uniq types.SFID `db:"f_uniq,default='0'" json:"-"` ContractLogInfo }
type ContractLogInfo ¶
type ContractLogInfo struct { EventType string `db:"f_event_type" json:"eventType,omitempty,default='MONITOR_DEFAULT'"` ChainID uint64 `db:"f_chain_id" json:"chainID"` ContractAddress string `db:"f_contract_address" json:"contractAddress"` BlockStart uint64 `db:"f_block_start" json:"blockStart"` BlockCurrent uint64 `db:"f_block_current" json:"blockCurrent,omitempty"` BlockEnd uint64 `db:"f_block_end,default='0'" json:"blockEnd,omitempty"` Topic0 string `db:"f_topic0,default=''" json:"topic0,omitempty"` Topic1 string `db:"f_topic1,default=''" json:"topic1,omitempty"` Topic2 string `db:"f_topic2,default=''" json:"topic2,omitempty"` Topic3 string `db:"f_topic3,default=''" json:"topic3,omitempty"` Paused datatypes.Bool `db:"f_paused,default='2'" json:"paused,omitempty,default='false'"` }
type ContractLogIterator ¶
type ContractLogIterator struct { }
func (*ContractLogIterator) New ¶
func (*ContractLogIterator) New() interface{}
func (*ContractLogIterator) Resolve ¶
func (*ContractLogIterator) Resolve(v interface{}) *ContractLog
type CronJob ¶ added in v1.1.0
type CronJob struct { datatypes.PrimaryID RelCronJob RelProject CronJobInfo datatypes.OperationTimesWithDeleted }
CronJob schema for cron job information @def primary ID @def unique_index UI_cron_job_id CronJobID @def unique_index UI_cron ProjectID CronExpressions EventType
func (*CronJob) ColCreatedAt ¶ added in v1.1.0
func (*CronJob) ColCronExpressions ¶ added in v1.1.0
func (*CronJob) ColCronJobID ¶ added in v1.1.0
func (*CronJob) ColDeletedAt ¶ added in v1.1.0
func (*CronJob) ColEventType ¶ added in v1.1.0
func (*CronJob) ColProjectID ¶ added in v1.1.0
func (*CronJob) ColUpdatedAt ¶ added in v1.1.0
func (*CronJob) CondByValue ¶ added in v1.1.0
func (m *CronJob) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*CronJob) Count ¶ added in v1.1.0
func (m *CronJob) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*CronJob) DeleteByCronJobID ¶ added in v1.1.0
func (m *CronJob) DeleteByCronJobID(db sqlx.DBExecutor) error
func (*CronJob) DeleteByID ¶ added in v1.1.0
func (m *CronJob) DeleteByID(db sqlx.DBExecutor) error
func (*CronJob) DeleteByProjectIDAndCronExpressionsAndEventType ¶ added in v1.1.0
func (m *CronJob) DeleteByProjectIDAndCronExpressionsAndEventType(db sqlx.DBExecutor) error
func (*CronJob) FetchByCronJobID ¶ added in v1.1.0
func (m *CronJob) FetchByCronJobID(db sqlx.DBExecutor) error
func (*CronJob) FetchByProjectIDAndCronExpressionsAndEventType ¶ added in v1.1.0
func (m *CronJob) FetchByProjectIDAndCronExpressionsAndEventType(db sqlx.DBExecutor) error
func (*CronJob) FieldCreatedAt ¶ added in v1.1.0
func (*CronJob) FieldCronExpressions ¶ added in v1.1.0
func (*CronJob) FieldCronJobID ¶ added in v1.1.0
func (*CronJob) FieldDeletedAt ¶ added in v1.1.0
func (*CronJob) FieldEventType ¶ added in v1.1.0
func (*CronJob) FieldProjectID ¶ added in v1.1.0
func (*CronJob) FieldUpdatedAt ¶ added in v1.1.0
func (*CronJob) IndexFieldNames ¶ added in v1.1.0
func (*CronJob) List ¶ added in v1.1.0
func (m *CronJob) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]CronJob, error)
func (*CronJob) PrimaryKey ¶ added in v1.1.0
func (*CronJob) SoftDeleteByCronJobID ¶ added in v1.1.0
func (m *CronJob) SoftDeleteByCronJobID(db sqlx.DBExecutor) error
func (*CronJob) SoftDeleteByID ¶ added in v1.1.0
func (m *CronJob) SoftDeleteByID(db sqlx.DBExecutor) error
func (*CronJob) SoftDeleteByProjectIDAndCronExpressionsAndEventType ¶ added in v1.1.0
func (m *CronJob) SoftDeleteByProjectIDAndCronExpressionsAndEventType(db sqlx.DBExecutor) error
func (*CronJob) UniqueIndexUICron ¶ added in v1.1.0
func (*CronJob) UniqueIndexUICronJobID ¶ added in v1.1.0
func (*CronJob) UniqueIndexes ¶ added in v1.1.0
func (*CronJob) UpdateByCronJobID ¶ added in v1.1.0
func (m *CronJob) UpdateByCronJobID(db sqlx.DBExecutor, zeros ...string) error
func (*CronJob) UpdateByCronJobIDWithFVs ¶ added in v1.1.0
func (m *CronJob) UpdateByCronJobIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*CronJob) UpdateByID ¶ added in v1.1.0
func (m *CronJob) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*CronJob) UpdateByIDWithFVs ¶ added in v1.1.0
func (m *CronJob) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*CronJob) UpdateByProjectIDAndCronExpressionsAndEventType ¶ added in v1.1.0
func (m *CronJob) UpdateByProjectIDAndCronExpressionsAndEventType(db sqlx.DBExecutor, zeros ...string) error
func (*CronJob) UpdateByProjectIDAndCronExpressionsAndEventTypeWithFVs ¶ added in v1.1.0
func (m *CronJob) UpdateByProjectIDAndCronExpressionsAndEventTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type CronJobInfo ¶ added in v1.1.0
type CronJobIterator ¶ added in v1.1.0
type CronJobIterator struct { }
func (*CronJobIterator) New ¶ added in v1.1.0
func (*CronJobIterator) New() interface{}
func (*CronJobIterator) Resolve ¶ added in v1.1.0
func (*CronJobIterator) Resolve(v interface{}) *CronJob
type EventInfo ¶
type EventInfo struct { RelProject RelApplet RelPublisher }
type EventLog ¶
type EventLog struct { datatypes.PrimaryID RefEventID EventInfo datatypes.OperationTimes }
EventLog database model event @def primary ID @def unique_index UI_event_id EventID @def index I_project_id ProjectID @def index I_applet_id ProjectID @def index I_publisher_id PublisherID
func (*EventLog) ColAppletID ¶
func (*EventLog) ColCreatedAt ¶
func (*EventLog) ColEventID ¶
func (*EventLog) ColProjectID ¶
func (*EventLog) ColPublisherID ¶
func (*EventLog) ColUpdatedAt ¶
func (*EventLog) CondByValue ¶
func (m *EventLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*EventLog) Count ¶
func (m *EventLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*EventLog) DeleteByEventID ¶
func (m *EventLog) DeleteByEventID(db sqlx.DBExecutor) error
func (*EventLog) DeleteByID ¶
func (m *EventLog) DeleteByID(db sqlx.DBExecutor) error
func (*EventLog) FetchByEventID ¶
func (m *EventLog) FetchByEventID(db sqlx.DBExecutor) error
func (*EventLog) FieldAppletID ¶
func (*EventLog) FieldCreatedAt ¶
func (*EventLog) FieldEventID ¶
func (*EventLog) FieldProjectID ¶
func (*EventLog) FieldPublisherID ¶
func (*EventLog) FieldUpdatedAt ¶
func (*EventLog) IndexFieldNames ¶
func (*EventLog) List ¶
func (m *EventLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]EventLog, error)
func (*EventLog) PrimaryKey ¶
func (*EventLog) UniqueIndexUIEventID ¶
func (*EventLog) UniqueIndexes ¶
func (*EventLog) UpdateByEventID ¶
func (m *EventLog) UpdateByEventID(db sqlx.DBExecutor, zeros ...string) error
func (*EventLog) UpdateByEventIDWithFVs ¶
func (m *EventLog) UpdateByEventIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*EventLog) UpdateByID ¶
func (m *EventLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*EventLog) UpdateByIDWithFVs ¶
func (m *EventLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type EventLogIterator ¶
type EventLogIterator struct { }
func (*EventLogIterator) New ¶
func (*EventLogIterator) New() interface{}
func (*EventLogIterator) Resolve ¶
func (*EventLogIterator) Resolve(v interface{}) *EventLog
type Instance ¶
type Instance struct { datatypes.PrimaryID RelInstance RelApplet InstanceInfo datatypes.OperationTimes }
Instance database model instance @def primary ID @def unique_index UI_instance_id InstanceID @def unique_index UI_applet_id AppletID
func (*Instance) ColAppletID ¶
func (*Instance) ColCreatedAt ¶
func (*Instance) ColInstanceID ¶
func (*Instance) ColUpdatedAt ¶
func (*Instance) CondByValue ¶
func (m *Instance) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Instance) Count ¶
func (m *Instance) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Instance) DeleteByAppletID ¶ added in v1.0.0
func (m *Instance) DeleteByAppletID(db sqlx.DBExecutor) error
func (*Instance) DeleteByID ¶
func (m *Instance) DeleteByID(db sqlx.DBExecutor) error
func (*Instance) DeleteByInstanceID ¶
func (m *Instance) DeleteByInstanceID(db sqlx.DBExecutor) error
func (*Instance) FetchByAppletID ¶ added in v1.0.0
func (m *Instance) FetchByAppletID(db sqlx.DBExecutor) error
func (*Instance) FetchByInstanceID ¶
func (m *Instance) FetchByInstanceID(db sqlx.DBExecutor) error
func (*Instance) FieldAppletID ¶
func (*Instance) FieldCreatedAt ¶
func (*Instance) FieldInstanceID ¶
func (*Instance) FieldState ¶
func (*Instance) FieldUpdatedAt ¶
func (*Instance) IndexFieldNames ¶
func (*Instance) List ¶
func (m *Instance) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Instance, error)
func (*Instance) PrimaryKey ¶
func (*Instance) UniqueIndexUIAppletID ¶ added in v1.0.0
func (*Instance) UniqueIndexUIInstanceID ¶
func (*Instance) UniqueIndexes ¶
func (*Instance) UpdateByAppletID ¶ added in v1.0.0
func (m *Instance) UpdateByAppletID(db sqlx.DBExecutor, zeros ...string) error
func (*Instance) UpdateByAppletIDWithFVs ¶ added in v1.0.0
func (m *Instance) UpdateByAppletIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Instance) UpdateByID ¶
func (m *Instance) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Instance) UpdateByIDWithFVs ¶
func (m *Instance) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Instance) UpdateByInstanceID ¶
func (m *Instance) UpdateByInstanceID(db sqlx.DBExecutor, zeros ...string) error
func (*Instance) UpdateByInstanceIDWithFVs ¶
func (m *Instance) UpdateByInstanceIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type InstanceInfo ¶
type InstanceInfo struct {
State enums.InstanceState `db:"f_state" json:"state"`
}
type InstanceIterator ¶
type InstanceIterator struct { }
func (*InstanceIterator) New ¶
func (*InstanceIterator) New() interface{}
func (*InstanceIterator) Resolve ¶
func (*InstanceIterator) Resolve(v interface{}) *Instance
type Operator ¶ added in v1.1.0
type Operator struct { datatypes.PrimaryID RelAccount RelOperator OperatorInfo datatypes.OperationTimesWithDeleted }
Operator schema for blockchain operate information @def primary ID @def unique_index UI_operator_id OperatorID @def unique_index UI_name AccountID Name
func (*Operator) ColAccountID ¶ added in v1.1.0
func (*Operator) ColCreatedAt ¶ added in v1.1.0
func (*Operator) ColDeletedAt ¶ added in v1.1.0
func (*Operator) ColOperatorID ¶ added in v1.1.0
func (*Operator) ColPrivateKey ¶ added in v1.1.0
func (*Operator) ColUpdatedAt ¶ added in v1.1.0
func (*Operator) CondByValue ¶ added in v1.1.0
func (m *Operator) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Operator) Count ¶ added in v1.1.0
func (m *Operator) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Operator) DeleteByAccountIDAndName ¶ added in v1.1.0
func (m *Operator) DeleteByAccountIDAndName(db sqlx.DBExecutor) error
func (*Operator) DeleteByID ¶ added in v1.1.0
func (m *Operator) DeleteByID(db sqlx.DBExecutor) error
func (*Operator) DeleteByOperatorID ¶ added in v1.1.0
func (m *Operator) DeleteByOperatorID(db sqlx.DBExecutor) error
func (*Operator) FetchByAccountIDAndName ¶ added in v1.1.0
func (m *Operator) FetchByAccountIDAndName(db sqlx.DBExecutor) error
func (*Operator) FetchByOperatorID ¶ added in v1.1.0
func (m *Operator) FetchByOperatorID(db sqlx.DBExecutor) error
func (*Operator) FieldAccountID ¶ added in v1.1.0
func (*Operator) FieldCreatedAt ¶ added in v1.1.0
func (*Operator) FieldDeletedAt ¶ added in v1.1.0
func (*Operator) FieldOperatorID ¶ added in v1.1.0
func (*Operator) FieldPrivateKey ¶ added in v1.1.0
func (*Operator) FieldUpdatedAt ¶ added in v1.1.0
func (*Operator) IndexFieldNames ¶ added in v1.1.0
func (*Operator) List ¶ added in v1.1.0
func (m *Operator) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Operator, error)
func (*Operator) PrimaryKey ¶ added in v1.1.0
func (*Operator) SoftDeleteByAccountIDAndName ¶ added in v1.1.0
func (m *Operator) SoftDeleteByAccountIDAndName(db sqlx.DBExecutor) error
func (*Operator) SoftDeleteByID ¶ added in v1.1.0
func (m *Operator) SoftDeleteByID(db sqlx.DBExecutor) error
func (*Operator) SoftDeleteByOperatorID ¶ added in v1.1.0
func (m *Operator) SoftDeleteByOperatorID(db sqlx.DBExecutor) error
func (*Operator) UniqueIndexUIName ¶ added in v1.1.0
func (*Operator) UniqueIndexUIOperatorID ¶ added in v1.1.0
func (*Operator) UniqueIndexes ¶ added in v1.1.0
func (*Operator) UpdateByAccountIDAndName ¶ added in v1.1.0
func (m *Operator) UpdateByAccountIDAndName(db sqlx.DBExecutor, zeros ...string) error
func (*Operator) UpdateByAccountIDAndNameWithFVs ¶ added in v1.1.0
func (m *Operator) UpdateByAccountIDAndNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Operator) UpdateByID ¶ added in v1.1.0
func (m *Operator) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Operator) UpdateByIDWithFVs ¶ added in v1.1.0
func (m *Operator) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Operator) UpdateByOperatorID ¶ added in v1.1.0
func (m *Operator) UpdateByOperatorID(db sqlx.DBExecutor, zeros ...string) error
func (*Operator) UpdateByOperatorIDWithFVs ¶ added in v1.1.0
func (m *Operator) UpdateByOperatorIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type OperatorInfo ¶ added in v1.1.0
type OperatorIterator ¶ added in v1.1.0
type OperatorIterator struct { }
func (*OperatorIterator) New ¶ added in v1.1.0
func (*OperatorIterator) New() interface{}
func (*OperatorIterator) Resolve ¶ added in v1.1.0
func (*OperatorIterator) Resolve(v interface{}) *Operator
type Project ¶
type Project struct { datatypes.PrimaryID RelProject RelAccount ProjectName ProjectBase datatypes.OperationTimesWithDeleted }
Project schema for project information @def primary ID @def unique_index UI_project_id ProjectID @def unique_index UI_name Name
func (*Project) ColAccountID ¶
func (*Project) ColCreatedAt ¶
func (*Project) ColDeletedAt ¶
func (*Project) ColDescription ¶ added in v1.1.0
func (*Project) ColProjectID ¶
func (*Project) ColUpdatedAt ¶
func (*Project) ColVersion ¶
func (*Project) CondByValue ¶
func (m *Project) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Project) Count ¶
func (m *Project) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (Project) DatabaseName ¶ added in v1.1.0
func (*Project) DeleteByID ¶
func (m *Project) DeleteByID(db sqlx.DBExecutor) error
func (*Project) DeleteByName ¶
func (m *Project) DeleteByName(db sqlx.DBExecutor) error
func (*Project) DeleteByProjectID ¶
func (m *Project) DeleteByProjectID(db sqlx.DBExecutor) error
func (*Project) FetchByName ¶
func (m *Project) FetchByName(db sqlx.DBExecutor) error
func (*Project) FetchByProjectID ¶
func (m *Project) FetchByProjectID(db sqlx.DBExecutor) error
func (*Project) FieldAccountID ¶
func (*Project) FieldCreatedAt ¶
func (*Project) FieldDeletedAt ¶
func (*Project) FieldDescription ¶ added in v1.1.0
func (*Project) FieldProjectID ¶
func (*Project) FieldProto ¶
func (*Project) FieldUpdatedAt ¶
func (*Project) FieldVersion ¶
func (*Project) IndexFieldNames ¶
func (*Project) List ¶
func (m *Project) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Project, error)
func (*Project) PrimaryKey ¶
func (Project) Privileges ¶ added in v1.2.2
func (*Project) SoftDeleteByID ¶
func (m *Project) SoftDeleteByID(db sqlx.DBExecutor) error
func (*Project) SoftDeleteByName ¶
func (m *Project) SoftDeleteByName(db sqlx.DBExecutor) error
func (*Project) SoftDeleteByProjectID ¶
func (m *Project) SoftDeleteByProjectID(db sqlx.DBExecutor) error
func (*Project) UniqueIndexUIName ¶
func (*Project) UniqueIndexUIProjectID ¶
func (*Project) UniqueIndexes ¶
func (*Project) UpdateByID ¶
func (m *Project) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Project) UpdateByIDWithFVs ¶
func (m *Project) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Project) UpdateByName ¶
func (m *Project) UpdateByName(db sqlx.DBExecutor, zeros ...string) error
func (*Project) UpdateByNameWithFVs ¶
func (m *Project) UpdateByNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Project) UpdateByProjectID ¶
func (m *Project) UpdateByProjectID(db sqlx.DBExecutor, zeros ...string) error
func (*Project) UpdateByProjectIDWithFVs ¶
func (m *Project) UpdateByProjectIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ProjectBase ¶
type ProjectBase struct { Version string `db:"f_version,default=''" json:"version,omitempty"` // Version project version Proto enums.Protocol `db:"f_proto,default='0'" json:"protocol,omitempty"` // Proto project protocol for event publisher Description string `db:"f_description,default=''" json:"description,omitempty"` }
type ProjectIterator ¶
type ProjectIterator struct { }
func (*ProjectIterator) New ¶
func (*ProjectIterator) New() interface{}
func (*ProjectIterator) Resolve ¶
func (*ProjectIterator) Resolve(v interface{}) *Project
type ProjectName ¶
type ProjectName struct {
Name string `db:"f_name" json:"name" validate:"@projectName"` // Name project name
}
type ProjectOperator ¶ added in v1.2.2
type ProjectOperator struct { datatypes.PrimaryID RelProject RelOperator datatypes.OperationTimesWithDeleted }
ProjectOperator schema for project operator relationship @def primary ID @def unique_index UI_project_id ProjectID
func (*ProjectOperator) ColCreatedAt ¶ added in v1.2.2
func (m *ProjectOperator) ColCreatedAt() *builder.Column
func (*ProjectOperator) ColDeletedAt ¶ added in v1.2.2
func (m *ProjectOperator) ColDeletedAt() *builder.Column
func (*ProjectOperator) ColDesc ¶ added in v1.2.2
func (*ProjectOperator) ColDesc() map[string][]string
func (*ProjectOperator) ColID ¶ added in v1.2.2
func (m *ProjectOperator) ColID() *builder.Column
func (*ProjectOperator) ColOperatorID ¶ added in v1.2.2
func (m *ProjectOperator) ColOperatorID() *builder.Column
func (*ProjectOperator) ColProjectID ¶ added in v1.2.2
func (m *ProjectOperator) ColProjectID() *builder.Column
func (*ProjectOperator) ColRel ¶ added in v1.2.2
func (*ProjectOperator) ColRel() map[string][]string
func (*ProjectOperator) ColUpdatedAt ¶ added in v1.2.2
func (m *ProjectOperator) ColUpdatedAt() *builder.Column
func (*ProjectOperator) Comments ¶ added in v1.2.2
func (*ProjectOperator) Comments() map[string]string
func (*ProjectOperator) CondByValue ¶ added in v1.2.2
func (m *ProjectOperator) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*ProjectOperator) Count ¶ added in v1.2.2
func (m *ProjectOperator) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*ProjectOperator) Create ¶ added in v1.2.2
func (m *ProjectOperator) Create(db sqlx.DBExecutor) error
func (*ProjectOperator) Delete ¶ added in v1.2.2
func (m *ProjectOperator) Delete(db sqlx.DBExecutor) error
func (*ProjectOperator) DeleteByID ¶ added in v1.2.2
func (m *ProjectOperator) DeleteByID(db sqlx.DBExecutor) error
func (*ProjectOperator) DeleteByProjectID ¶ added in v1.2.2
func (m *ProjectOperator) DeleteByProjectID(db sqlx.DBExecutor) error
func (*ProjectOperator) FetchByID ¶ added in v1.2.2
func (m *ProjectOperator) FetchByID(db sqlx.DBExecutor) error
func (*ProjectOperator) FetchByProjectID ¶ added in v1.2.2
func (m *ProjectOperator) FetchByProjectID(db sqlx.DBExecutor) error
func (*ProjectOperator) FieldCreatedAt ¶ added in v1.2.2
func (*ProjectOperator) FieldCreatedAt() string
func (*ProjectOperator) FieldDeletedAt ¶ added in v1.2.2
func (*ProjectOperator) FieldDeletedAt() string
func (*ProjectOperator) FieldID ¶ added in v1.2.2
func (*ProjectOperator) FieldID() string
func (*ProjectOperator) FieldOperatorID ¶ added in v1.2.2
func (*ProjectOperator) FieldOperatorID() string
func (*ProjectOperator) FieldProjectID ¶ added in v1.2.2
func (*ProjectOperator) FieldProjectID() string
func (*ProjectOperator) FieldUpdatedAt ¶ added in v1.2.2
func (*ProjectOperator) FieldUpdatedAt() string
func (*ProjectOperator) IndexFieldNames ¶ added in v1.2.2
func (m *ProjectOperator) IndexFieldNames() []string
func (*ProjectOperator) List ¶ added in v1.2.2
func (m *ProjectOperator) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ProjectOperator, error)
func (*ProjectOperator) PrimaryKey ¶ added in v1.2.2
func (*ProjectOperator) PrimaryKey() []string
func (*ProjectOperator) SoftDeleteByID ¶ added in v1.2.2
func (m *ProjectOperator) SoftDeleteByID(db sqlx.DBExecutor) error
func (*ProjectOperator) SoftDeleteByProjectID ¶ added in v1.2.2
func (m *ProjectOperator) SoftDeleteByProjectID(db sqlx.DBExecutor) error
func (*ProjectOperator) TableDesc ¶ added in v1.2.2
func (*ProjectOperator) TableDesc() []string
func (*ProjectOperator) TableName ¶ added in v1.2.2
func (*ProjectOperator) TableName() string
func (*ProjectOperator) UniqueIndexUIProjectID ¶ added in v1.2.2
func (*ProjectOperator) UniqueIndexUIProjectID() string
func (*ProjectOperator) UniqueIndexes ¶ added in v1.2.2
func (*ProjectOperator) UniqueIndexes() builder.Indexes
func (*ProjectOperator) UpdateByID ¶ added in v1.2.2
func (m *ProjectOperator) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*ProjectOperator) UpdateByIDWithFVs ¶ added in v1.2.2
func (m *ProjectOperator) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ProjectOperator) UpdateByProjectID ¶ added in v1.2.2
func (m *ProjectOperator) UpdateByProjectID(db sqlx.DBExecutor, zeros ...string) error
func (*ProjectOperator) UpdateByProjectIDWithFVs ¶ added in v1.2.2
func (m *ProjectOperator) UpdateByProjectIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ProjectOperatorIterator ¶ added in v1.2.2
type ProjectOperatorIterator struct { }
func (*ProjectOperatorIterator) New ¶ added in v1.2.2
func (*ProjectOperatorIterator) New() interface{}
func (*ProjectOperatorIterator) Resolve ¶ added in v1.2.2
func (*ProjectOperatorIterator) Resolve(v interface{}) *ProjectOperator
type Publisher ¶
type Publisher struct { datatypes.PrimaryID RelProject RelPublisher PublisherInfo datatypes.OperationTimes }
Publisher database model demo @def primary ID @def unique_index UI_publisher_id PublisherID @def unique_index UI_project_id_publisher_key ProjectID Key
func (*Publisher) ColCreatedAt ¶
func (*Publisher) ColProjectID ¶
func (*Publisher) ColPublisherID ¶
func (*Publisher) ColUpdatedAt ¶
func (*Publisher) CondByValue ¶
func (m *Publisher) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Publisher) Count ¶
func (m *Publisher) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Publisher) DeleteByID ¶
func (m *Publisher) DeleteByID(db sqlx.DBExecutor) error
func (*Publisher) DeleteByProjectIDAndKey ¶ added in v1.1.0
func (m *Publisher) DeleteByProjectIDAndKey(db sqlx.DBExecutor) error
func (*Publisher) DeleteByPublisherID ¶
func (m *Publisher) DeleteByPublisherID(db sqlx.DBExecutor) error
func (*Publisher) FetchByProjectIDAndKey ¶ added in v1.1.0
func (m *Publisher) FetchByProjectIDAndKey(db sqlx.DBExecutor) error
func (*Publisher) FetchByPublisherID ¶
func (m *Publisher) FetchByPublisherID(db sqlx.DBExecutor) error
func (*Publisher) FieldCreatedAt ¶
func (*Publisher) FieldProjectID ¶
func (*Publisher) FieldPublisherID ¶
func (*Publisher) FieldToken ¶
func (*Publisher) FieldUpdatedAt ¶
func (*Publisher) IndexFieldNames ¶
func (*Publisher) List ¶
func (m *Publisher) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Publisher, error)
func (*Publisher) PrimaryKey ¶
func (*Publisher) UniqueIndexUIProjectIDPublisherKey ¶ added in v1.1.0
func (*Publisher) UniqueIndexUIPublisherID ¶
func (*Publisher) UniqueIndexes ¶
func (*Publisher) UpdateByID ¶
func (m *Publisher) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Publisher) UpdateByIDWithFVs ¶
func (m *Publisher) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Publisher) UpdateByProjectIDAndKey ¶ added in v1.1.0
func (m *Publisher) UpdateByProjectIDAndKey(db sqlx.DBExecutor, zeros ...string) error
func (*Publisher) UpdateByProjectIDAndKeyWithFVs ¶ added in v1.1.0
func (m *Publisher) UpdateByProjectIDAndKeyWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Publisher) UpdateByPublisherID ¶
func (m *Publisher) UpdateByPublisherID(db sqlx.DBExecutor, zeros ...string) error
func (*Publisher) UpdateByPublisherIDWithFVs ¶
func (m *Publisher) UpdateByPublisherIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type PublisherInfo ¶
type PublisherIterator ¶
type PublisherIterator struct { }
func (*PublisherIterator) New ¶
func (*PublisherIterator) New() interface{}
func (*PublisherIterator) Resolve ¶
func (*PublisherIterator) Resolve(v interface{}) *Publisher
type RefEventID ¶
type RelAccount ¶
type RelAccountPassword ¶ added in v1.1.0
type RelBlockchain ¶
type RelBlockchain struct {
ChainID uint64 `db:"f_chain_id" json:"chainID"`
}
type RelChainHeight ¶
type RelChainTx ¶
type RelContractLog ¶
type RelCronJob ¶ added in v1.1.0
type RelInstance ¶
type RelOperator ¶ added in v1.1.0
type RelProject ¶
type RelPublisher ¶
type RelResource ¶
type RelStrategy ¶
type RelTrafficLimit ¶ added in v1.2.5
type RelWasmLog ¶ added in v1.1.0
type Resource ¶
type Resource struct { datatypes.PrimaryID RelResource ResourceInfo datatypes.OperationTimes }
Resource database model wasm_resource @def primary ID @def unique_index UI_resource_id ResourceID @def unique_index UI_md5 Md5
func (*Resource) ColCreatedAt ¶
func (*Resource) ColResourceID ¶
func (*Resource) ColUpdatedAt ¶
func (*Resource) CondByValue ¶
func (m *Resource) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Resource) Count ¶
func (m *Resource) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Resource) DeleteByID ¶
func (m *Resource) DeleteByID(db sqlx.DBExecutor) error
func (*Resource) DeleteByMd5 ¶
func (m *Resource) DeleteByMd5(db sqlx.DBExecutor) error
func (*Resource) DeleteByResourceID ¶
func (m *Resource) DeleteByResourceID(db sqlx.DBExecutor) error
func (*Resource) FetchByMd5 ¶
func (m *Resource) FetchByMd5(db sqlx.DBExecutor) error
func (*Resource) FetchByResourceID ¶
func (m *Resource) FetchByResourceID(db sqlx.DBExecutor) error
func (*Resource) FieldCreatedAt ¶
func (*Resource) FieldResourceID ¶
func (*Resource) FieldUpdatedAt ¶
func (*Resource) IndexFieldNames ¶
func (*Resource) List ¶
func (m *Resource) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Resource, error)
func (*Resource) PrimaryKey ¶
func (*Resource) UniqueIndexUIMd5 ¶
func (*Resource) UniqueIndexUIResourceID ¶
func (*Resource) UniqueIndexes ¶
func (*Resource) UpdateByID ¶
func (m *Resource) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Resource) UpdateByIDWithFVs ¶
func (m *Resource) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Resource) UpdateByMd5 ¶
func (m *Resource) UpdateByMd5(db sqlx.DBExecutor, zeros ...string) error
func (*Resource) UpdateByMd5WithFVs ¶
func (m *Resource) UpdateByMd5WithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Resource) UpdateByResourceID ¶
func (m *Resource) UpdateByResourceID(db sqlx.DBExecutor, zeros ...string) error
func (*Resource) UpdateByResourceIDWithFVs ¶
func (m *Resource) UpdateByResourceIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ResourceInfo ¶
type ResourceIterator ¶
type ResourceIterator struct { }
func (*ResourceIterator) New ¶
func (*ResourceIterator) New() interface{}
func (*ResourceIterator) Resolve ¶
func (*ResourceIterator) Resolve(v interface{}) *Resource
type ResourceOwnerInfo ¶ added in v1.1.0
type ResourceOwnership ¶ added in v1.1.0
type ResourceOwnership struct { datatypes.PrimaryID RelResource RelAccount ResourceOwnerInfo datatypes.OperationTimes }
ResourceOwnership database model resource ownership @def primary ID @def unique_index UI_resource_account ResourceID AccountID
func (*ResourceOwnership) ColAccountID ¶ added in v1.1.0
func (m *ResourceOwnership) ColAccountID() *builder.Column
func (*ResourceOwnership) ColComment ¶ added in v1.1.0
func (m *ResourceOwnership) ColComment() *builder.Column
func (*ResourceOwnership) ColCreatedAt ¶ added in v1.1.0
func (m *ResourceOwnership) ColCreatedAt() *builder.Column
func (*ResourceOwnership) ColDesc ¶ added in v1.1.0
func (*ResourceOwnership) ColDesc() map[string][]string
func (*ResourceOwnership) ColExpireAt ¶ added in v1.1.0
func (m *ResourceOwnership) ColExpireAt() *builder.Column
func (*ResourceOwnership) ColFilename ¶ added in v1.1.0
func (m *ResourceOwnership) ColFilename() *builder.Column
func (*ResourceOwnership) ColID ¶ added in v1.1.0
func (m *ResourceOwnership) ColID() *builder.Column
func (*ResourceOwnership) ColRel ¶ added in v1.1.0
func (*ResourceOwnership) ColRel() map[string][]string
func (*ResourceOwnership) ColResourceID ¶ added in v1.1.0
func (m *ResourceOwnership) ColResourceID() *builder.Column
func (*ResourceOwnership) ColUpdatedAt ¶ added in v1.1.0
func (m *ResourceOwnership) ColUpdatedAt() *builder.Column
func (*ResourceOwnership) ColUploadedAt ¶ added in v1.1.0
func (m *ResourceOwnership) ColUploadedAt() *builder.Column
func (*ResourceOwnership) Comments ¶ added in v1.1.0
func (*ResourceOwnership) Comments() map[string]string
func (*ResourceOwnership) CondByValue ¶ added in v1.1.0
func (m *ResourceOwnership) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*ResourceOwnership) Count ¶ added in v1.1.0
func (m *ResourceOwnership) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*ResourceOwnership) Create ¶ added in v1.1.0
func (m *ResourceOwnership) Create(db sqlx.DBExecutor) error
func (*ResourceOwnership) Delete ¶ added in v1.1.0
func (m *ResourceOwnership) Delete(db sqlx.DBExecutor) error
func (*ResourceOwnership) DeleteByID ¶ added in v1.1.0
func (m *ResourceOwnership) DeleteByID(db sqlx.DBExecutor) error
func (*ResourceOwnership) DeleteByResourceIDAndAccountID ¶ added in v1.1.0
func (m *ResourceOwnership) DeleteByResourceIDAndAccountID(db sqlx.DBExecutor) error
func (*ResourceOwnership) FetchByID ¶ added in v1.1.0
func (m *ResourceOwnership) FetchByID(db sqlx.DBExecutor) error
func (*ResourceOwnership) FetchByResourceIDAndAccountID ¶ added in v1.1.0
func (m *ResourceOwnership) FetchByResourceIDAndAccountID(db sqlx.DBExecutor) error
func (*ResourceOwnership) FieldAccountID ¶ added in v1.1.0
func (*ResourceOwnership) FieldAccountID() string
func (*ResourceOwnership) FieldComment ¶ added in v1.1.0
func (*ResourceOwnership) FieldComment() string
func (*ResourceOwnership) FieldCreatedAt ¶ added in v1.1.0
func (*ResourceOwnership) FieldCreatedAt() string
func (*ResourceOwnership) FieldExpireAt ¶ added in v1.1.0
func (*ResourceOwnership) FieldExpireAt() string
func (*ResourceOwnership) FieldFilename ¶ added in v1.1.0
func (*ResourceOwnership) FieldFilename() string
func (*ResourceOwnership) FieldID ¶ added in v1.1.0
func (*ResourceOwnership) FieldID() string
func (*ResourceOwnership) FieldResourceID ¶ added in v1.1.0
func (*ResourceOwnership) FieldResourceID() string
func (*ResourceOwnership) FieldUpdatedAt ¶ added in v1.1.0
func (*ResourceOwnership) FieldUpdatedAt() string
func (*ResourceOwnership) FieldUploadedAt ¶ added in v1.1.0
func (*ResourceOwnership) FieldUploadedAt() string
func (*ResourceOwnership) IndexFieldNames ¶ added in v1.1.0
func (m *ResourceOwnership) IndexFieldNames() []string
func (*ResourceOwnership) List ¶ added in v1.1.0
func (m *ResourceOwnership) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ResourceOwnership, error)
func (*ResourceOwnership) PrimaryKey ¶ added in v1.1.0
func (*ResourceOwnership) PrimaryKey() []string
func (*ResourceOwnership) TableDesc ¶ added in v1.1.0
func (*ResourceOwnership) TableDesc() []string
func (*ResourceOwnership) TableName ¶ added in v1.1.0
func (*ResourceOwnership) TableName() string
func (*ResourceOwnership) UniqueIndexUIResourceAccount ¶ added in v1.1.0
func (*ResourceOwnership) UniqueIndexUIResourceAccount() string
func (*ResourceOwnership) UniqueIndexes ¶ added in v1.1.0
func (*ResourceOwnership) UniqueIndexes() builder.Indexes
func (*ResourceOwnership) UpdateByID ¶ added in v1.1.0
func (m *ResourceOwnership) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*ResourceOwnership) UpdateByIDWithFVs ¶ added in v1.1.0
func (m *ResourceOwnership) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ResourceOwnership) UpdateByResourceIDAndAccountID ¶ added in v1.1.0
func (m *ResourceOwnership) UpdateByResourceIDAndAccountID(db sqlx.DBExecutor, zeros ...string) error
func (*ResourceOwnership) UpdateByResourceIDAndAccountIDWithFVs ¶ added in v1.1.0
func (m *ResourceOwnership) UpdateByResourceIDAndAccountIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ResourceOwnershipIterator ¶ added in v1.1.0
type ResourceOwnershipIterator struct { }
func (*ResourceOwnershipIterator) New ¶ added in v1.1.0
func (*ResourceOwnershipIterator) New() interface{}
func (*ResourceOwnershipIterator) Resolve ¶ added in v1.1.0
func (*ResourceOwnershipIterator) Resolve(v interface{}) *ResourceOwnership
type Strategy ¶
type Strategy struct { datatypes.PrimaryID RelStrategy RelProject RelApplet StrategyInfo datatypes.OperationTimesWithDeleted }
Strategy event route strategy @def primary ID @def unique_index UI_strategy_id StrategyID @def unique_index UI_prj_app_event ProjectID AppletID EventType
func (*Strategy) ColAppletID ¶
func (*Strategy) ColCreatedAt ¶
func (*Strategy) ColDeletedAt ¶
func (*Strategy) ColEventType ¶
func (*Strategy) ColHandler ¶
func (*Strategy) ColProjectID ¶
func (*Strategy) ColStrategyID ¶
func (*Strategy) ColUpdatedAt ¶
func (*Strategy) CondByValue ¶
func (m *Strategy) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Strategy) Count ¶
func (m *Strategy) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Strategy) DeleteByID ¶
func (m *Strategy) DeleteByID(db sqlx.DBExecutor) error
func (*Strategy) DeleteByProjectIDAndAppletIDAndEventType ¶ added in v1.1.0
func (m *Strategy) DeleteByProjectIDAndAppletIDAndEventType(db sqlx.DBExecutor) error
func (*Strategy) DeleteByStrategyID ¶
func (m *Strategy) DeleteByStrategyID(db sqlx.DBExecutor) error
func (*Strategy) FetchByProjectIDAndAppletIDAndEventType ¶ added in v1.1.0
func (m *Strategy) FetchByProjectIDAndAppletIDAndEventType(db sqlx.DBExecutor) error
func (*Strategy) FetchByStrategyID ¶
func (m *Strategy) FetchByStrategyID(db sqlx.DBExecutor) error
func (*Strategy) FieldAppletID ¶
func (*Strategy) FieldCreatedAt ¶
func (*Strategy) FieldDeletedAt ¶
func (*Strategy) FieldEventType ¶
func (*Strategy) FieldHandler ¶
func (*Strategy) FieldProjectID ¶
func (*Strategy) FieldStrategyID ¶
func (*Strategy) FieldUpdatedAt ¶
func (*Strategy) IndexFieldNames ¶
func (*Strategy) List ¶
func (m *Strategy) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Strategy, error)
func (*Strategy) PrimaryKey ¶
func (*Strategy) SoftDeleteByID ¶
func (m *Strategy) SoftDeleteByID(db sqlx.DBExecutor) error
func (*Strategy) SoftDeleteByProjectIDAndAppletIDAndEventType ¶ added in v1.1.0
func (m *Strategy) SoftDeleteByProjectIDAndAppletIDAndEventType(db sqlx.DBExecutor) error
func (*Strategy) SoftDeleteByStrategyID ¶
func (m *Strategy) SoftDeleteByStrategyID(db sqlx.DBExecutor) error
func (*Strategy) UniqueIndexUIPrjAppEvent ¶
func (*Strategy) UniqueIndexUIStrategyID ¶
func (*Strategy) UniqueIndexes ¶
func (*Strategy) UpdateByID ¶
func (m *Strategy) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Strategy) UpdateByIDWithFVs ¶
func (m *Strategy) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Strategy) UpdateByProjectIDAndAppletIDAndEventType ¶ added in v1.1.0
func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventType(db sqlx.DBExecutor, zeros ...string) error
func (*Strategy) UpdateByProjectIDAndAppletIDAndEventTypeWithFVs ¶ added in v1.1.0
func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Strategy) UpdateByStrategyID ¶
func (m *Strategy) UpdateByStrategyID(db sqlx.DBExecutor, zeros ...string) error
func (*Strategy) UpdateByStrategyIDWithFVs ¶
func (m *Strategy) UpdateByStrategyIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type StrategyInfo ¶
type StrategyIterator ¶
type StrategyIterator struct { }
func (*StrategyIterator) New ¶
func (*StrategyIterator) New() interface{}
func (*StrategyIterator) Resolve ¶
func (*StrategyIterator) Resolve(v interface{}) *Strategy
type TrafficLimit ¶ added in v1.2.5
type TrafficLimit struct { datatypes.PrimaryID RelTrafficLimit RelProject TrafficLimitInfo datatypes.OperationTimesWithDeleted }
TrafficLimit traffic limit for each project @def primary ID @def unique_index UI_traffic_limit_id TrafficLimitID @def unique_index UI_prj_api_type ProjectID ApiType
func (*TrafficLimit) ColApiType ¶ added in v1.2.5
func (m *TrafficLimit) ColApiType() *builder.Column
func (*TrafficLimit) ColCreatedAt ¶ added in v1.2.5
func (m *TrafficLimit) ColCreatedAt() *builder.Column
func (*TrafficLimit) ColDeletedAt ¶ added in v1.2.5
func (m *TrafficLimit) ColDeletedAt() *builder.Column
func (*TrafficLimit) ColDesc ¶ added in v1.2.5
func (*TrafficLimit) ColDesc() map[string][]string
func (*TrafficLimit) ColDuration ¶ added in v1.2.5
func (m *TrafficLimit) ColDuration() *builder.Column
func (*TrafficLimit) ColID ¶ added in v1.2.5
func (m *TrafficLimit) ColID() *builder.Column
func (*TrafficLimit) ColProjectID ¶ added in v1.2.5
func (m *TrafficLimit) ColProjectID() *builder.Column
func (*TrafficLimit) ColRel ¶ added in v1.2.5
func (*TrafficLimit) ColRel() map[string][]string
func (*TrafficLimit) ColStartAt ¶ added in v1.3.1
func (m *TrafficLimit) ColStartAt() *builder.Column
func (*TrafficLimit) ColThreshold ¶ added in v1.2.5
func (m *TrafficLimit) ColThreshold() *builder.Column
func (*TrafficLimit) ColTrafficLimitID ¶ added in v1.2.5
func (m *TrafficLimit) ColTrafficLimitID() *builder.Column
func (*TrafficLimit) ColUpdatedAt ¶ added in v1.2.5
func (m *TrafficLimit) ColUpdatedAt() *builder.Column
func (*TrafficLimit) Comments ¶ added in v1.2.5
func (*TrafficLimit) Comments() map[string]string
func (*TrafficLimit) CondByValue ¶ added in v1.2.5
func (m *TrafficLimit) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*TrafficLimit) Count ¶ added in v1.2.5
func (m *TrafficLimit) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*TrafficLimit) Create ¶ added in v1.2.5
func (m *TrafficLimit) Create(db sqlx.DBExecutor) error
func (*TrafficLimit) Delete ¶ added in v1.2.5
func (m *TrafficLimit) Delete(db sqlx.DBExecutor) error
func (*TrafficLimit) DeleteByID ¶ added in v1.2.5
func (m *TrafficLimit) DeleteByID(db sqlx.DBExecutor) error
func (*TrafficLimit) DeleteByProjectIDAndApiType ¶ added in v1.2.5
func (m *TrafficLimit) DeleteByProjectIDAndApiType(db sqlx.DBExecutor) error
func (*TrafficLimit) DeleteByTrafficLimitID ¶ added in v1.2.5
func (m *TrafficLimit) DeleteByTrafficLimitID(db sqlx.DBExecutor) error
func (*TrafficLimit) FetchByID ¶ added in v1.2.5
func (m *TrafficLimit) FetchByID(db sqlx.DBExecutor) error
func (*TrafficLimit) FetchByProjectIDAndApiType ¶ added in v1.2.5
func (m *TrafficLimit) FetchByProjectIDAndApiType(db sqlx.DBExecutor) error
func (*TrafficLimit) FetchByTrafficLimitID ¶ added in v1.2.5
func (m *TrafficLimit) FetchByTrafficLimitID(db sqlx.DBExecutor) error
func (*TrafficLimit) FieldApiType ¶ added in v1.2.5
func (*TrafficLimit) FieldApiType() string
func (*TrafficLimit) FieldCreatedAt ¶ added in v1.2.5
func (*TrafficLimit) FieldCreatedAt() string
func (*TrafficLimit) FieldDeletedAt ¶ added in v1.2.5
func (*TrafficLimit) FieldDeletedAt() string
func (*TrafficLimit) FieldDuration ¶ added in v1.2.5
func (*TrafficLimit) FieldDuration() string
func (*TrafficLimit) FieldID ¶ added in v1.2.5
func (*TrafficLimit) FieldID() string
func (*TrafficLimit) FieldProjectID ¶ added in v1.2.5
func (*TrafficLimit) FieldProjectID() string
func (*TrafficLimit) FieldStartAt ¶ added in v1.3.1
func (*TrafficLimit) FieldStartAt() string
func (*TrafficLimit) FieldThreshold ¶ added in v1.2.5
func (*TrafficLimit) FieldThreshold() string
func (*TrafficLimit) FieldTrafficLimitID ¶ added in v1.2.5
func (*TrafficLimit) FieldTrafficLimitID() string
func (*TrafficLimit) FieldUpdatedAt ¶ added in v1.2.5
func (*TrafficLimit) FieldUpdatedAt() string
func (*TrafficLimit) IndexFieldNames ¶ added in v1.2.5
func (m *TrafficLimit) IndexFieldNames() []string
func (*TrafficLimit) List ¶ added in v1.2.5
func (m *TrafficLimit) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]TrafficLimit, error)
func (*TrafficLimit) PrimaryKey ¶ added in v1.2.5
func (*TrafficLimit) PrimaryKey() []string
func (*TrafficLimit) SoftDeleteByID ¶ added in v1.2.5
func (m *TrafficLimit) SoftDeleteByID(db sqlx.DBExecutor) error
func (*TrafficLimit) SoftDeleteByProjectIDAndApiType ¶ added in v1.2.5
func (m *TrafficLimit) SoftDeleteByProjectIDAndApiType(db sqlx.DBExecutor) error
func (*TrafficLimit) SoftDeleteByTrafficLimitID ¶ added in v1.2.5
func (m *TrafficLimit) SoftDeleteByTrafficLimitID(db sqlx.DBExecutor) error
func (*TrafficLimit) TableDesc ¶ added in v1.2.5
func (*TrafficLimit) TableDesc() []string
func (*TrafficLimit) TableName ¶ added in v1.2.5
func (*TrafficLimit) TableName() string
func (*TrafficLimit) UniqueIndexUIPrjAPIType ¶ added in v1.2.5
func (*TrafficLimit) UniqueIndexUIPrjAPIType() string
func (*TrafficLimit) UniqueIndexUITrafficLimitID ¶ added in v1.2.5
func (*TrafficLimit) UniqueIndexUITrafficLimitID() string
func (*TrafficLimit) UniqueIndexes ¶ added in v1.2.5
func (*TrafficLimit) UniqueIndexes() builder.Indexes
func (*TrafficLimit) UpdateByID ¶ added in v1.2.5
func (m *TrafficLimit) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*TrafficLimit) UpdateByIDWithFVs ¶ added in v1.2.5
func (m *TrafficLimit) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*TrafficLimit) UpdateByProjectIDAndApiType ¶ added in v1.2.5
func (m *TrafficLimit) UpdateByProjectIDAndApiType(db sqlx.DBExecutor, zeros ...string) error
func (*TrafficLimit) UpdateByProjectIDAndApiTypeWithFVs ¶ added in v1.2.5
func (m *TrafficLimit) UpdateByProjectIDAndApiTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*TrafficLimit) UpdateByTrafficLimitID ¶ added in v1.2.5
func (m *TrafficLimit) UpdateByTrafficLimitID(db sqlx.DBExecutor, zeros ...string) error
func (*TrafficLimit) UpdateByTrafficLimitIDWithFVs ¶ added in v1.2.5
func (m *TrafficLimit) UpdateByTrafficLimitIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type TrafficLimitInfo ¶ added in v1.2.5
type TrafficLimitIterator ¶ added in v1.2.5
type TrafficLimitIterator struct { }
func (*TrafficLimitIterator) New ¶ added in v1.2.5
func (*TrafficLimitIterator) New() interface{}
func (*TrafficLimitIterator) Resolve ¶ added in v1.2.5
func (*TrafficLimitIterator) Resolve(v interface{}) *TrafficLimit
type WasmLog ¶ added in v1.1.0
type WasmLog struct { datatypes.PrimaryID RelWasmLog WasmLogInfo datatypes.OperationTimes }
WasmLog database model event @def primary ID @def unique_index UI_wasm_log_id WasmLogID
func (*WasmLog) ColAppletName ¶ added in v1.1.0
func (*WasmLog) ColCreatedAt ¶ added in v1.1.0
func (*WasmLog) ColInstanceID ¶ added in v1.1.0
func (*WasmLog) ColLogTime ¶ added in v1.1.0
func (*WasmLog) ColProjectName ¶ added in v1.1.0
func (*WasmLog) ColUpdatedAt ¶ added in v1.1.0
func (*WasmLog) ColWasmLogID ¶ added in v1.1.0
func (*WasmLog) CondByValue ¶ added in v1.1.0
func (m *WasmLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*WasmLog) Count ¶ added in v1.1.0
func (m *WasmLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*WasmLog) DeleteByID ¶ added in v1.1.0
func (m *WasmLog) DeleteByID(db sqlx.DBExecutor) error
func (*WasmLog) DeleteByWasmLogID ¶ added in v1.1.0
func (m *WasmLog) DeleteByWasmLogID(db sqlx.DBExecutor) error
func (*WasmLog) FetchByWasmLogID ¶ added in v1.1.0
func (m *WasmLog) FetchByWasmLogID(db sqlx.DBExecutor) error
func (*WasmLog) FieldAppletName ¶ added in v1.1.0
func (*WasmLog) FieldCreatedAt ¶ added in v1.1.0
func (*WasmLog) FieldInstanceID ¶ added in v1.1.0
func (*WasmLog) FieldLevel ¶ added in v1.1.0
func (*WasmLog) FieldLogTime ¶ added in v1.1.0
func (*WasmLog) FieldProjectName ¶ added in v1.1.0
func (*WasmLog) FieldUpdatedAt ¶ added in v1.1.0
func (*WasmLog) FieldWasmLogID ¶ added in v1.1.0
func (*WasmLog) IndexFieldNames ¶ added in v1.1.0
func (*WasmLog) List ¶ added in v1.1.0
func (m *WasmLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]WasmLog, error)
func (*WasmLog) PrimaryKey ¶ added in v1.1.0
func (*WasmLog) UniqueIndexUIWasmLogID ¶ added in v1.1.0
func (*WasmLog) UniqueIndexes ¶ added in v1.1.0
func (*WasmLog) UpdateByID ¶ added in v1.1.0
func (m *WasmLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*WasmLog) UpdateByIDWithFVs ¶ added in v1.1.0
func (m *WasmLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*WasmLog) UpdateByWasmLogID ¶ added in v1.1.0
func (m *WasmLog) UpdateByWasmLogID(db sqlx.DBExecutor, zeros ...string) error
func (*WasmLog) UpdateByWasmLogIDWithFVs ¶ added in v1.1.0
func (m *WasmLog) UpdateByWasmLogIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type WasmLogInfo ¶ added in v1.1.0
type WasmLogInfo struct { ProjectName string `db:"f_project_name" json:"projectName"` AppletName string `db:"f_applet_name,default=''" json:"appletName"` InstanceID types.SFID `db:"f_instance_id,default='0'" json:"instanceID"` Src string `db:"f_src,default=''" json:"src"` Level string `db:"f_level,default=''" json:"level"` LogTime int64 `db:"f_log_time,default='0'" json:"logTime"` Msg string `db:"f_msg,default='',size=1024" json:"msg"` }
type WasmLogIterator ¶ added in v1.1.0
type WasmLogIterator struct { }
func (*WasmLogIterator) New ¶ added in v1.1.0
func (*WasmLogIterator) New() interface{}
func (*WasmLogIterator) Resolve ¶ added in v1.1.0
func (*WasmLogIterator) Resolve(v interface{}) *WasmLog
Source Files ¶
- account.go
- account__generated.go
- account_access_key.go
- account_access_key__generated.go
- account_identity.go
- account_identity__generated.go
- account_password.go
- account_password__generated.go
- applet.go
- applet__generated.go
- blockchain.go
- blockchain__generated.go
- chain_height.go
- chain_height__generated.go
- chain_tx.go
- chain_tx__generated.go
- config.go
- config__generated.go
- contract_log.go
- contract_log__generated.go
- cron_job.go
- cron_job__generated.go
- database.go
- event_log.go
- event_log__generated.go
- instance.go
- instance__generated.go
- operator.go
- operator__generated.go
- project.go
- project__generated.go
- project_operator.go
- project_operator__generated.go
- publisher.go
- publisher__generated.go
- resource.go
- resource__generated.go
- resource_ownership.go
- resource_ownership__generated.go
- strategy.go
- strategy__generated.go
- traffic_limit.go
- traffic_limit__generated.go
- wasm_log.go
- wasm_log__generated.go