models

package
v1.1.0-rc6 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountIdentityMetaKey_EthAddress_Nonce string = "nonce"
)

Variables

View Source
var (
	DB        = sqlx.NewDatabase("demo").WithSchema("applet_management")
	MonitorDB = sqlx.NewDatabase("demo").WithSchema("monitor")
	WasmDB    = sqlx.NewDatabase("wasm_storage")
)
View Source
var AccountIdentityTable *builder.Table
View Source
var AccountPasswordTable *builder.Table
View Source
var AccountTable *builder.Table
View Source
var AppletTable *builder.Table
View Source
var BlockchainTable *builder.Table
View Source
var ChainHeightTable *builder.Table
View Source
var ChainTxTable *builder.Table
View Source
var ConfigTable *builder.Table
View Source
var ContractLogTable *builder.Table
View Source
var CronJobTable *builder.Table
View Source
var DefaultStrategyInfo = StrategyInfo{
	EventType: enums.EVENTTYPEDEFAULT,
	Handler:   "start",
}
View Source
var EventLogTable *builder.Table
View Source
var InstanceTable *builder.Table
View Source
var ProjectTable *builder.Table
View Source
var PublisherTable *builder.Table
View Source
var ResourceOwnershipTable *builder.Table
View Source
var ResourceTable *builder.Table
View Source
var StrategyTable *builder.Table
View Source
var WasmLogTable *builder.Table

Functions

This section is empty.

Types

type Account

Account w3bstream account @def primary ID @def unique_index UI_account_id AccountID

func (*Account) ColAccountID

func (m *Account) ColAccountID() *builder.Column

func (*Account) ColAvatar added in v1.1.0

func (m *Account) ColAvatar() *builder.Column

func (*Account) ColCreatedAt

func (m *Account) ColCreatedAt() *builder.Column

func (*Account) ColDeletedAt

func (m *Account) ColDeletedAt() *builder.Column

func (*Account) ColDesc

func (*Account) ColDesc() map[string][]string

func (*Account) ColID added in v1.1.0

func (m *Account) ColID() *builder.Column

func (*Account) ColMeta

func (m *Account) ColMeta() *builder.Column

func (*Account) ColOperatorPrivateKey added in v1.1.0

func (m *Account) ColOperatorPrivateKey() *builder.Column

func (*Account) ColRel

func (*Account) ColRel() map[string][]string

func (*Account) ColRole added in v1.1.0

func (m *Account) ColRole() *builder.Column

func (*Account) ColState

func (m *Account) ColState() *builder.Column

func (*Account) ColUpdatedAt

func (m *Account) ColUpdatedAt() *builder.Column

func (*Account) Comments

func (*Account) Comments() map[string]string

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) Create

func (m *Account) Create(db sqlx.DBExecutor) error

func (*Account) Delete

func (m *Account) Delete(db sqlx.DBExecutor) 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) FetchByID added in v1.1.0

func (m *Account) FetchByID(db sqlx.DBExecutor) error

func (*Account) FieldAccountID

func (*Account) FieldAccountID() string

func (*Account) FieldAvatar added in v1.1.0

func (*Account) FieldAvatar() string

func (*Account) FieldCreatedAt

func (*Account) FieldCreatedAt() string

func (*Account) FieldDeletedAt

func (*Account) FieldDeletedAt() string

func (*Account) FieldID added in v1.1.0

func (*Account) FieldID() string

func (*Account) FieldMeta

func (*Account) FieldMeta() string

func (*Account) FieldOperatorPrivateKey added in v1.1.0

func (*Account) FieldOperatorPrivateKey() string

func (*Account) FieldRole added in v1.1.0

func (*Account) FieldRole() string

func (*Account) FieldState

func (*Account) FieldState() string

func (*Account) FieldUpdatedAt

func (*Account) FieldUpdatedAt() string

func (*Account) IndexFieldNames

func (m *Account) IndexFieldNames() []string

func (*Account) List

func (m *Account) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Account, error)

func (*Account) PrimaryKey

func (*Account) PrimaryKey() []string

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) TableDesc

func (*Account) TableDesc() []string

func (*Account) TableName

func (*Account) TableName() string

func (*Account) UniqueIndexUIAccountID added in v1.1.0

func (*Account) UniqueIndexUIAccountID() string

func (*Account) UniqueIndexes

func (*Account) UniqueIndexes() builder.Indexes

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 AccountIdentity added in v1.1.0

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 (*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:"-"`
}

type AccountIterator

type AccountIterator struct {
}

func (*AccountIterator) New

func (*AccountIterator) New() interface{}

func (*AccountIterator) Resolve

func (*AccountIterator) Resolve(v interface{}) *Account

type AccountPassword

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 (*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

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 (m *Applet) ColAppletID() *builder.Column

func (*Applet) ColCreatedAt

func (m *Applet) ColCreatedAt() *builder.Column

func (*Applet) ColDesc

func (*Applet) ColDesc() map[string][]string

func (*Applet) ColID

func (m *Applet) ColID() *builder.Column

func (*Applet) ColName

func (m *Applet) ColName() *builder.Column

func (*Applet) ColProjectID

func (m *Applet) ColProjectID() *builder.Column

func (*Applet) ColRel

func (*Applet) ColRel() map[string][]string

func (*Applet) ColResourceID

func (m *Applet) ColResourceID() *builder.Column

func (*Applet) ColUpdatedAt

func (m *Applet) ColUpdatedAt() *builder.Column

func (*Applet) Comments

func (*Applet) Comments() map[string]string

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) Create

func (m *Applet) Create(db sqlx.DBExecutor) error

func (*Applet) Delete

func (m *Applet) Delete(db sqlx.DBExecutor) 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) FetchByID

func (m *Applet) FetchByID(db sqlx.DBExecutor) error

func (*Applet) FetchByProjectIDAndName

func (m *Applet) FetchByProjectIDAndName(db sqlx.DBExecutor) error

func (*Applet) FieldAppletID

func (*Applet) FieldAppletID() string

func (*Applet) FieldCreatedAt

func (*Applet) FieldCreatedAt() string

func (*Applet) FieldID

func (*Applet) FieldID() string

func (*Applet) FieldName

func (*Applet) FieldName() string

func (*Applet) FieldProjectID

func (*Applet) FieldProjectID() string

func (*Applet) FieldResourceID

func (*Applet) FieldResourceID() string

func (*Applet) FieldUpdatedAt

func (*Applet) FieldUpdatedAt() string

func (*Applet) IndexFieldNames

func (m *Applet) IndexFieldNames() []string

func (*Applet) List

func (m *Applet) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Applet, error)

func (*Applet) PrimaryKey

func (*Applet) PrimaryKey() []string

func (*Applet) TableDesc

func (*Applet) TableDesc() []string

func (*Applet) TableName

func (*Applet) TableName() string

func (*Applet) UniqueIndexUIAppletID

func (*Applet) UniqueIndexUIAppletID() string

func (*Applet) UniqueIndexUIProjectName

func (*Applet) UniqueIndexUIProjectName() string

func (*Applet) UniqueIndexes

func (*Applet) UniqueIndexes() builder.Indexes

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

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

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) 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) 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 (*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 ChainHeightData struct {
	ProjectName string         `db:"f_project_name"                 json:"projectName"`
	Finished    datatypes.Bool `db:"f_finished,default='2'"         json:"-"`
	Uniq        types.SFID     `db:"f_uniq,default='0'"             json:"-"`
	ChainHeightInfo
}

type ChainHeightInfo

type ChainHeightInfo struct {
	EventType string `db:"f_event_type"                   json:"eventType,omitempty"`
	ChainID   uint64 `db:"f_chain_id"                     json:"chainID"`
	Height    uint64 `db:"f_height"                       json:"height"`
}

type ChainHeightIterator

type ChainHeightIterator struct {
}

func (*ChainHeightIterator) New

func (*ChainHeightIterator) New() interface{}

func (*ChainHeightIterator) Resolve

func (*ChainHeightIterator) Resolve(v interface{}) *ChainHeight

type ChainTx

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 (m *ChainTx) ColChainID() *builder.Column

func (*ChainTx) ColChainTxID

func (m *ChainTx) ColChainTxID() *builder.Column

func (*ChainTx) ColCreatedAt

func (m *ChainTx) ColCreatedAt() *builder.Column

func (*ChainTx) ColDesc

func (*ChainTx) ColDesc() map[string][]string

func (*ChainTx) ColEventType

func (m *ChainTx) ColEventType() *builder.Column

func (*ChainTx) ColFinished

func (m *ChainTx) ColFinished() *builder.Column

func (*ChainTx) ColID

func (m *ChainTx) ColID() *builder.Column

func (*ChainTx) ColProjectName

func (m *ChainTx) ColProjectName() *builder.Column

func (*ChainTx) ColRel

func (*ChainTx) ColRel() map[string][]string

func (*ChainTx) ColTxAddress

func (m *ChainTx) ColTxAddress() *builder.Column

func (*ChainTx) ColUniq

func (m *ChainTx) ColUniq() *builder.Column

func (*ChainTx) ColUpdatedAt

func (m *ChainTx) ColUpdatedAt() *builder.Column

func (*ChainTx) Comments

func (*ChainTx) Comments() map[string]string

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) Create

func (m *ChainTx) Create(db sqlx.DBExecutor) error

func (*ChainTx) Delete

func (m *ChainTx) Delete(db sqlx.DBExecutor) 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) FetchByID

func (m *ChainTx) FetchByID(db sqlx.DBExecutor) error

func (*ChainTx) FetchByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq

func (m *ChainTx) FetchByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error

func (*ChainTx) FieldChainID

func (*ChainTx) FieldChainID() string

func (*ChainTx) FieldChainTxID

func (*ChainTx) FieldChainTxID() string

func (*ChainTx) FieldCreatedAt

func (*ChainTx) FieldCreatedAt() string

func (*ChainTx) FieldEventType

func (*ChainTx) FieldEventType() string

func (*ChainTx) FieldFinished

func (*ChainTx) FieldFinished() string

func (*ChainTx) FieldID

func (*ChainTx) FieldID() string

func (*ChainTx) FieldProjectName

func (*ChainTx) FieldProjectName() string

func (*ChainTx) FieldTxAddress

func (*ChainTx) FieldTxAddress() string

func (*ChainTx) FieldUniq

func (*ChainTx) FieldUniq() string

func (*ChainTx) FieldUpdatedAt

func (*ChainTx) FieldUpdatedAt() string

func (*ChainTx) IndexFieldNames

func (m *ChainTx) IndexFieldNames() []string

func (*ChainTx) List

func (m *ChainTx) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainTx, error)

func (*ChainTx) PrimaryKey

func (*ChainTx) PrimaryKey() []string

func (*ChainTx) TableDesc

func (*ChainTx) TableDesc() []string

func (*ChainTx) TableName

func (*ChainTx) TableName() string

func (*ChainTx) UniqueIndexUIChainTxID

func (*ChainTx) UniqueIndexUIChainTxID() string

func (*ChainTx) UniqueIndexUIChainTxUniq

func (*ChainTx) UniqueIndexUIChainTxUniq() string

func (*ChainTx) UniqueIndexes

func (*ChainTx) UniqueIndexes() builder.Indexes

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 ChainTxData struct {
	ProjectName string         `db:"f_project_name"                 json:"projectName"`
	Finished    datatypes.Bool `db:"f_finished,default='2'"         json:"-"`
	Uniq        types.SFID     `db:"f_uniq,default='0'"             json:"-"`
	ChainTxInfo
}

type ChainTxInfo

type ChainTxInfo struct {
	EventType string `db:"f_event_type"                   json:"eventType,omitempty"`
	ChainID   uint64 `db:"f_chain_id"                     json:"chainID"`
	TxAddress string `db:"f_tx_address"                   json:"txAddress"`
}

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

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 (m *Config) ColConfigID() *builder.Column

func (*Config) ColCreatedAt added in v1.0.0

func (m *Config) ColCreatedAt() *builder.Column

func (*Config) ColDesc added in v1.0.0

func (*Config) ColDesc() map[string][]string

func (*Config) ColID added in v1.0.0

func (m *Config) ColID() *builder.Column

func (*Config) ColRel added in v1.0.0

func (*Config) ColRel() map[string][]string

func (*Config) ColRelID added in v1.0.0

func (m *Config) ColRelID() *builder.Column

func (*Config) ColType added in v1.0.0

func (m *Config) ColType() *builder.Column

func (*Config) ColUpdatedAt added in v1.0.0

func (m *Config) ColUpdatedAt() *builder.Column

func (*Config) ColValue added in v1.0.0

func (m *Config) ColValue() *builder.Column

func (*Config) Comments added in v1.0.0

func (*Config) Comments() map[string]string

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) Create added in v1.0.0

func (m *Config) Create(db sqlx.DBExecutor) error

func (*Config) Delete added in v1.0.0

func (m *Config) Delete(db sqlx.DBExecutor) 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) FetchByID added in v1.0.0

func (m *Config) FetchByID(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) FieldConfigID() string

func (*Config) FieldCreatedAt added in v1.0.0

func (*Config) FieldCreatedAt() string

func (*Config) FieldID added in v1.0.0

func (*Config) FieldID() string

func (*Config) FieldRelID added in v1.0.0

func (*Config) FieldRelID() string

func (*Config) FieldType added in v1.0.0

func (*Config) FieldType() string

func (*Config) FieldUpdatedAt added in v1.0.0

func (*Config) FieldUpdatedAt() string

func (*Config) FieldValue added in v1.0.0

func (*Config) FieldValue() string

func (*Config) IndexFieldNames added in v1.0.0

func (m *Config) IndexFieldNames() []string

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) PrimaryKey() []string

func (*Config) TableDesc added in v1.0.0

func (*Config) TableDesc() []string

func (*Config) TableName added in v1.0.0

func (*Config) TableName() string

func (*Config) UniqueIndexUIConfigID added in v1.0.0

func (*Config) UniqueIndexUIConfigID() string

func (*Config) UniqueIndexUIRelType added in v1.0.0

func (*Config) UniqueIndexUIRelType() string

func (*Config) UniqueIndexes added in v1.0.0

func (*Config) UniqueIndexes() builder.Indexes

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

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 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) 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) DeleteByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq

func (m *ContractLog) DeleteByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(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) FetchByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq

func (m *ContractLog) FetchByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(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) 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 (*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) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq

func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor, zeros ...string) error

func (*ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniqWithFVs

func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniqWithFVs(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"`
	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"`
}

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

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 (m *CronJob) ColCreatedAt() *builder.Column

func (*CronJob) ColCronExpressions added in v1.1.0

func (m *CronJob) ColCronExpressions() *builder.Column

func (*CronJob) ColCronJobID added in v1.1.0

func (m *CronJob) ColCronJobID() *builder.Column

func (*CronJob) ColDeletedAt added in v1.1.0

func (m *CronJob) ColDeletedAt() *builder.Column

func (*CronJob) ColDesc added in v1.1.0

func (*CronJob) ColDesc() map[string][]string

func (*CronJob) ColEventType added in v1.1.0

func (m *CronJob) ColEventType() *builder.Column

func (*CronJob) ColID added in v1.1.0

func (m *CronJob) ColID() *builder.Column

func (*CronJob) ColProjectID added in v1.1.0

func (m *CronJob) ColProjectID() *builder.Column

func (*CronJob) ColRel added in v1.1.0

func (*CronJob) ColRel() map[string][]string

func (*CronJob) ColUpdatedAt added in v1.1.0

func (m *CronJob) ColUpdatedAt() *builder.Column

func (*CronJob) Comments added in v1.1.0

func (*CronJob) Comments() map[string]string

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) Create added in v1.1.0

func (m *CronJob) Create(db sqlx.DBExecutor) error

func (*CronJob) Delete added in v1.1.0

func (m *CronJob) Delete(db sqlx.DBExecutor) 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) FetchByID added in v1.1.0

func (m *CronJob) FetchByID(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) FieldCreatedAt() string

func (*CronJob) FieldCronExpressions added in v1.1.0

func (*CronJob) FieldCronExpressions() string

func (*CronJob) FieldCronJobID added in v1.1.0

func (*CronJob) FieldCronJobID() string

func (*CronJob) FieldDeletedAt added in v1.1.0

func (*CronJob) FieldDeletedAt() string

func (*CronJob) FieldEventType added in v1.1.0

func (*CronJob) FieldEventType() string

func (*CronJob) FieldID added in v1.1.0

func (*CronJob) FieldID() string

func (*CronJob) FieldProjectID added in v1.1.0

func (*CronJob) FieldProjectID() string

func (*CronJob) FieldUpdatedAt added in v1.1.0

func (*CronJob) FieldUpdatedAt() string

func (*CronJob) IndexFieldNames added in v1.1.0

func (m *CronJob) IndexFieldNames() []string

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) PrimaryKey() []string

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) TableDesc added in v1.1.0

func (*CronJob) TableDesc() []string

func (*CronJob) TableName added in v1.1.0

func (*CronJob) TableName() string

func (*CronJob) UniqueIndexUICron added in v1.1.0

func (*CronJob) UniqueIndexUICron() string

func (*CronJob) UniqueIndexUICronJobID added in v1.1.0

func (*CronJob) UniqueIndexUICronJobID() string

func (*CronJob) UniqueIndexes added in v1.1.0

func (*CronJob) UniqueIndexes() builder.Indexes

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 CronJobInfo struct {
	CronExpressions string `db:"f_cron_expressions"    json:"cronExpressions"`
	EventType       string `db:"f_event_type"          json:"eventType,omitempty"`
}

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

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 (m *EventLog) ColAppletID() *builder.Column

func (*EventLog) ColCreatedAt

func (m *EventLog) ColCreatedAt() *builder.Column

func (*EventLog) ColDesc

func (*EventLog) ColDesc() map[string][]string

func (*EventLog) ColEventID

func (m *EventLog) ColEventID() *builder.Column

func (*EventLog) ColID

func (m *EventLog) ColID() *builder.Column

func (*EventLog) ColProjectID

func (m *EventLog) ColProjectID() *builder.Column

func (*EventLog) ColPublisherID

func (m *EventLog) ColPublisherID() *builder.Column

func (*EventLog) ColRel

func (*EventLog) ColRel() map[string][]string

func (*EventLog) ColUpdatedAt

func (m *EventLog) ColUpdatedAt() *builder.Column

func (*EventLog) Comments

func (*EventLog) Comments() map[string]string

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) Create

func (m *EventLog) Create(db sqlx.DBExecutor) error

func (*EventLog) Delete

func (m *EventLog) Delete(db sqlx.DBExecutor) 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) FetchByID

func (m *EventLog) FetchByID(db sqlx.DBExecutor) error

func (*EventLog) FieldAppletID

func (*EventLog) FieldAppletID() string

func (*EventLog) FieldCreatedAt

func (*EventLog) FieldCreatedAt() string

func (*EventLog) FieldEventID

func (*EventLog) FieldEventID() string

func (*EventLog) FieldID

func (*EventLog) FieldID() string

func (*EventLog) FieldProjectID

func (*EventLog) FieldProjectID() string

func (*EventLog) FieldPublisherID

func (*EventLog) FieldPublisherID() string

func (*EventLog) FieldUpdatedAt

func (*EventLog) FieldUpdatedAt() string

func (*EventLog) IndexFieldNames

func (m *EventLog) IndexFieldNames() []string

func (*EventLog) Indexes

func (*EventLog) Indexes() builder.Indexes

func (*EventLog) List

func (m *EventLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]EventLog, error)

func (*EventLog) PrimaryKey

func (*EventLog) PrimaryKey() []string

func (*EventLog) TableDesc

func (*EventLog) TableDesc() []string

func (*EventLog) TableName

func (*EventLog) TableName() string

func (*EventLog) UniqueIndexUIEventID

func (*EventLog) UniqueIndexUIEventID() string

func (*EventLog) UniqueIndexes

func (*EventLog) UniqueIndexes() builder.Indexes

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

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 (m *Instance) ColAppletID() *builder.Column

func (*Instance) ColCreatedAt

func (m *Instance) ColCreatedAt() *builder.Column

func (*Instance) ColDesc

func (*Instance) ColDesc() map[string][]string

func (*Instance) ColID

func (m *Instance) ColID() *builder.Column

func (*Instance) ColInstanceID

func (m *Instance) ColInstanceID() *builder.Column

func (*Instance) ColRel

func (*Instance) ColRel() map[string][]string

func (*Instance) ColState

func (m *Instance) ColState() *builder.Column

func (*Instance) ColUpdatedAt

func (m *Instance) ColUpdatedAt() *builder.Column

func (*Instance) Comments

func (*Instance) Comments() map[string]string

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) Create

func (m *Instance) Create(db sqlx.DBExecutor) error

func (*Instance) Delete

func (m *Instance) Delete(db sqlx.DBExecutor) 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) FetchByID

func (m *Instance) FetchByID(db sqlx.DBExecutor) error

func (*Instance) FetchByInstanceID

func (m *Instance) FetchByInstanceID(db sqlx.DBExecutor) error

func (*Instance) FieldAppletID

func (*Instance) FieldAppletID() string

func (*Instance) FieldCreatedAt

func (*Instance) FieldCreatedAt() string

func (*Instance) FieldID

func (*Instance) FieldID() string

func (*Instance) FieldInstanceID

func (*Instance) FieldInstanceID() string

func (*Instance) FieldState

func (*Instance) FieldState() string

func (*Instance) FieldUpdatedAt

func (*Instance) FieldUpdatedAt() string

func (*Instance) IndexFieldNames

func (m *Instance) IndexFieldNames() []string

func (*Instance) List

func (m *Instance) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Instance, error)

func (*Instance) PrimaryKey

func (*Instance) PrimaryKey() []string

func (*Instance) TableDesc

func (*Instance) TableDesc() []string

func (*Instance) TableName

func (*Instance) TableName() string

func (*Instance) UniqueIndexUIAppletID added in v1.0.0

func (*Instance) UniqueIndexUIAppletID() string

func (*Instance) UniqueIndexUIInstanceID

func (*Instance) UniqueIndexUIInstanceID() string

func (*Instance) UniqueIndexes

func (*Instance) UniqueIndexes() builder.Indexes

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 Meta

type Meta map[string]string

func (Meta) DataType

func (Meta) DataType(driver string) string

func (*Meta) Scan

func (m *Meta) Scan(src interface{}) error

func (Meta) Value

func (m Meta) Value() (driver.Value, error)

type Project

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 (m *Project) ColAccountID() *builder.Column

func (*Project) ColCreatedAt

func (m *Project) ColCreatedAt() *builder.Column

func (*Project) ColDeletedAt

func (m *Project) ColDeletedAt() *builder.Column

func (*Project) ColDesc

func (*Project) ColDesc() map[string][]string

func (*Project) ColDescription added in v1.1.0

func (m *Project) ColDescription() *builder.Column

func (*Project) ColID

func (m *Project) ColID() *builder.Column

func (*Project) ColName

func (m *Project) ColName() *builder.Column

func (*Project) ColProjectID

func (m *Project) ColProjectID() *builder.Column

func (*Project) ColProto

func (m *Project) ColProto() *builder.Column

func (*Project) ColRel

func (*Project) ColRel() map[string][]string

func (*Project) ColUpdatedAt

func (m *Project) ColUpdatedAt() *builder.Column

func (*Project) ColVersion

func (m *Project) ColVersion() *builder.Column

func (*Project) Comments

func (*Project) Comments() map[string]string

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) Create

func (m *Project) Create(db sqlx.DBExecutor) error

func (*Project) DatabaseName added in v1.1.0

func (v *Project) DatabaseName() string

func (*Project) Delete

func (m *Project) Delete(db sqlx.DBExecutor) error

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) FetchByID

func (m *Project) FetchByID(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) FieldAccountID() string

func (*Project) FieldCreatedAt

func (*Project) FieldCreatedAt() string

func (*Project) FieldDeletedAt

func (*Project) FieldDeletedAt() string

func (*Project) FieldDescription added in v1.1.0

func (*Project) FieldDescription() string

func (*Project) FieldID

func (*Project) FieldID() string

func (*Project) FieldName

func (*Project) FieldName() string

func (*Project) FieldProjectID

func (*Project) FieldProjectID() string

func (*Project) FieldProto

func (*Project) FieldProto() string

func (*Project) FieldUpdatedAt

func (*Project) FieldUpdatedAt() string

func (*Project) FieldVersion

func (*Project) FieldVersion() string

func (*Project) IndexFieldNames

func (m *Project) IndexFieldNames() []string

func (*Project) List

func (m *Project) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Project, error)

func (*Project) PrimaryKey

func (*Project) PrimaryKey() []string

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) TableDesc

func (*Project) TableDesc() []string

func (*Project) TableName

func (*Project) TableName() string

func (*Project) UniqueIndexUIName

func (*Project) UniqueIndexUIName() string

func (*Project) UniqueIndexUIProjectID

func (*Project) UniqueIndexUIProjectID() string

func (*Project) UniqueIndexes

func (*Project) UniqueIndexes() builder.Indexes

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 Publisher

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 (m *Publisher) ColCreatedAt() *builder.Column

func (*Publisher) ColDesc

func (*Publisher) ColDesc() map[string][]string

func (*Publisher) ColID

func (m *Publisher) ColID() *builder.Column

func (*Publisher) ColKey

func (m *Publisher) ColKey() *builder.Column

func (*Publisher) ColName

func (m *Publisher) ColName() *builder.Column

func (*Publisher) ColProjectID

func (m *Publisher) ColProjectID() *builder.Column

func (*Publisher) ColPublisherID

func (m *Publisher) ColPublisherID() *builder.Column

func (*Publisher) ColRel

func (*Publisher) ColRel() map[string][]string

func (*Publisher) ColToken

func (m *Publisher) ColToken() *builder.Column

func (*Publisher) ColUpdatedAt

func (m *Publisher) ColUpdatedAt() *builder.Column

func (*Publisher) Comments

func (*Publisher) Comments() map[string]string

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) Create

func (m *Publisher) Create(db sqlx.DBExecutor) error

func (*Publisher) Delete

func (m *Publisher) Delete(db sqlx.DBExecutor) 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) FetchByID

func (m *Publisher) FetchByID(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) FieldCreatedAt() string

func (*Publisher) FieldID

func (*Publisher) FieldID() string

func (*Publisher) FieldKey

func (*Publisher) FieldKey() string

func (*Publisher) FieldName

func (*Publisher) FieldName() string

func (*Publisher) FieldProjectID

func (*Publisher) FieldProjectID() string

func (*Publisher) FieldPublisherID

func (*Publisher) FieldPublisherID() string

func (*Publisher) FieldToken

func (*Publisher) FieldToken() string

func (*Publisher) FieldUpdatedAt

func (*Publisher) FieldUpdatedAt() string

func (*Publisher) IndexFieldNames

func (m *Publisher) IndexFieldNames() []string

func (*Publisher) List

func (m *Publisher) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Publisher, error)

func (*Publisher) PrimaryKey

func (*Publisher) PrimaryKey() []string

func (*Publisher) TableDesc

func (*Publisher) TableDesc() []string

func (*Publisher) TableName

func (*Publisher) TableName() string

func (*Publisher) UniqueIndexUIProjectIDPublisherKey added in v1.1.0

func (*Publisher) UniqueIndexUIProjectIDPublisherKey() string

func (*Publisher) UniqueIndexUIPublisherID

func (*Publisher) UniqueIndexUIPublisherID() string

func (*Publisher) UniqueIndexes

func (*Publisher) UniqueIndexes() builder.Indexes

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 PublisherInfo struct {
	Name  string `db:"f_name"             json:"name"`
	Key   string `db:"f_key"              json:"key"` // Key the unique identifier for publisher
	Token string `db:"f_token,default=''" json:"token"`
}

type PublisherIterator

type PublisherIterator struct {
}

func (*PublisherIterator) New

func (*PublisherIterator) New() interface{}

func (*PublisherIterator) Resolve

func (*PublisherIterator) Resolve(v interface{}) *Publisher

type RefEventID

type RefEventID struct {
	EventID types.SFID `db:"f_event_id" json:"eventID"`
}

type RelAccount

type RelAccount struct {
	// @rel Account.AccountID
	AccountID types.SFID `db:"f_account_id" json:"accountID"` // AccountID  account id
}

type RelAccountPassword added in v1.1.0

type RelAccountPassword struct {
	PasswordID types.SFID `db:"f_password_id" json:"passwordID"`
}

type RelApplet

type RelApplet struct {
	AppletID types.SFID `db:"f_applet_id" json:"appletID"`
}

type RelBlockchain

type RelBlockchain struct {
	ChainID uint64 `db:"f_chain_id"             json:"chainID"`
}

type RelChainHeight

type RelChainHeight struct {
	ChainHeightID types.SFID `db:"f_chain_height_id" json:"chainHeightID"`
}

type RelChainTx

type RelChainTx struct {
	ChainTxID types.SFID `db:"f_chaintx_id" json:"chaintxID"`
}

type RelConfig added in v1.0.0

type RelConfig struct {
	ConfigID types.SFID `db:"f_config_id" json:"configID"`
}

type RelContractLog

type RelContractLog struct {
	ContractLogID types.SFID `db:"f_contractlog_id" json:"contractlogID"`
}

type RelCronJob added in v1.1.0

type RelCronJob struct {
	CronJobID types.SFID `db:"f_cron_job_id" json:"cronJobID"`
}

type RelInstance

type RelInstance struct {
	InstanceID types.SFID `db:"f_instance_id" json:"instanceID"`
}

type RelProject

type RelProject struct {
	ProjectID types.SFID `db:"f_project_id" json:"projectID"`
}

type RelPublisher

type RelPublisher struct {
	PublisherID types.SFID `db:"f_publisher_id" json:"publisherID"`
}

type RelResource

type RelResource struct {
	ResourceID types.SFID `db:"f_resource_id" json:"resourceID"`
}

type RelStrategy

type RelStrategy struct {
	StrategyID types.SFID `db:"f_strategy_id" json:"strategyID"`
}

type RelWasmLog added in v1.1.0

type RelWasmLog struct {
	WasmLogID types.SFID `db:"f_wasm_log_id" json:"wasmLogID"`
}

type Resource

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 (m *Resource) ColCreatedAt() *builder.Column

func (*Resource) ColDesc

func (*Resource) ColDesc() map[string][]string

func (*Resource) ColID

func (m *Resource) ColID() *builder.Column

func (*Resource) ColMd5

func (m *Resource) ColMd5() *builder.Column

func (*Resource) ColPath

func (m *Resource) ColPath() *builder.Column

func (*Resource) ColRel

func (*Resource) ColRel() map[string][]string

func (*Resource) ColResourceID

func (m *Resource) ColResourceID() *builder.Column

func (*Resource) ColUpdatedAt

func (m *Resource) ColUpdatedAt() *builder.Column

func (*Resource) Comments

func (*Resource) Comments() map[string]string

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) Create

func (m *Resource) Create(db sqlx.DBExecutor) error

func (*Resource) Delete

func (m *Resource) Delete(db sqlx.DBExecutor) 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) FetchByID

func (m *Resource) FetchByID(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) FieldCreatedAt() string

func (*Resource) FieldID

func (*Resource) FieldID() string

func (*Resource) FieldMd5

func (*Resource) FieldMd5() string

func (*Resource) FieldPath

func (*Resource) FieldPath() string

func (*Resource) FieldResourceID

func (*Resource) FieldResourceID() string

func (*Resource) FieldUpdatedAt

func (*Resource) FieldUpdatedAt() string

func (*Resource) IndexFieldNames

func (m *Resource) IndexFieldNames() []string

func (*Resource) List

func (m *Resource) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Resource, error)

func (*Resource) PrimaryKey

func (*Resource) PrimaryKey() []string

func (*Resource) TableDesc

func (*Resource) TableDesc() []string

func (*Resource) TableName

func (*Resource) TableName() string

func (*Resource) UniqueIndexUIMd5

func (*Resource) UniqueIndexUIMd5() string

func (*Resource) UniqueIndexUIResourceID

func (*Resource) UniqueIndexUIResourceID() string

func (*Resource) UniqueIndexes

func (*Resource) UniqueIndexes() builder.Indexes

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 ResourceInfo struct {
	Path string `db:"f_path,default=''" json:"path"` // Path rel path
	Md5  string `db:"f_md5"             json:"md5"`
}

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 ResourceOwnerInfo struct {
	UploadedAt types.Timestamp `db:"f_uploaded_at"           json:"uploadedAt"`
	ExpireAt   types.Timestamp `db:"f_expire_at,default='0'" json:"expireAt"`
	Filename   string          `db:"f_filename,default=''"   json:"filename"`
	Comment    string          `db:"f_comment,default=''"    json:"comment"`
}

type ResourceOwnership added in v1.1.0

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 (*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 (*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

Strategy event route strategy @def primary ID @def unique_index UI_strategy_id StrategyID @def unique_index UI_prj_app_event ProjectID AppletID EventType Handler

func (*Strategy) ColAppletID

func (m *Strategy) ColAppletID() *builder.Column

func (*Strategy) ColCreatedAt

func (m *Strategy) ColCreatedAt() *builder.Column

func (*Strategy) ColDeletedAt

func (m *Strategy) ColDeletedAt() *builder.Column

func (*Strategy) ColDesc

func (*Strategy) ColDesc() map[string][]string

func (*Strategy) ColEventType

func (m *Strategy) ColEventType() *builder.Column

func (*Strategy) ColHandler

func (m *Strategy) ColHandler() *builder.Column

func (*Strategy) ColID

func (m *Strategy) ColID() *builder.Column

func (*Strategy) ColProjectID

func (m *Strategy) ColProjectID() *builder.Column

func (*Strategy) ColRel

func (*Strategy) ColRel() map[string][]string

func (*Strategy) ColStrategyID

func (m *Strategy) ColStrategyID() *builder.Column

func (*Strategy) ColUpdatedAt

func (m *Strategy) ColUpdatedAt() *builder.Column

func (*Strategy) Comments

func (*Strategy) Comments() map[string]string

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) Create

func (m *Strategy) Create(db sqlx.DBExecutor) error

func (*Strategy) Delete

func (m *Strategy) Delete(db sqlx.DBExecutor) error

func (*Strategy) DeleteByID

func (m *Strategy) DeleteByID(db sqlx.DBExecutor) error

func (*Strategy) DeleteByProjectIDAndAppletIDAndEventTypeAndHandler

func (m *Strategy) DeleteByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error

func (*Strategy) DeleteByStrategyID

func (m *Strategy) DeleteByStrategyID(db sqlx.DBExecutor) error

func (*Strategy) FetchByID

func (m *Strategy) FetchByID(db sqlx.DBExecutor) error

func (*Strategy) FetchByProjectIDAndAppletIDAndEventTypeAndHandler

func (m *Strategy) FetchByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error

func (*Strategy) FetchByStrategyID

func (m *Strategy) FetchByStrategyID(db sqlx.DBExecutor) error

func (*Strategy) FieldAppletID

func (*Strategy) FieldAppletID() string

func (*Strategy) FieldCreatedAt

func (*Strategy) FieldCreatedAt() string

func (*Strategy) FieldDeletedAt

func (*Strategy) FieldDeletedAt() string

func (*Strategy) FieldEventType

func (*Strategy) FieldEventType() string

func (*Strategy) FieldHandler

func (*Strategy) FieldHandler() string

func (*Strategy) FieldID

func (*Strategy) FieldID() string

func (*Strategy) FieldProjectID

func (*Strategy) FieldProjectID() string

func (*Strategy) FieldStrategyID

func (*Strategy) FieldStrategyID() string

func (*Strategy) FieldUpdatedAt

func (*Strategy) FieldUpdatedAt() string

func (*Strategy) IndexFieldNames

func (m *Strategy) IndexFieldNames() []string

func (*Strategy) List

func (m *Strategy) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Strategy, error)

func (*Strategy) PrimaryKey

func (*Strategy) PrimaryKey() []string

func (*Strategy) SoftDeleteByID

func (m *Strategy) SoftDeleteByID(db sqlx.DBExecutor) error

func (*Strategy) SoftDeleteByProjectIDAndAppletIDAndEventTypeAndHandler

func (m *Strategy) SoftDeleteByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error

func (*Strategy) SoftDeleteByStrategyID

func (m *Strategy) SoftDeleteByStrategyID(db sqlx.DBExecutor) error

func (*Strategy) TableDesc

func (*Strategy) TableDesc() []string

func (*Strategy) TableName

func (*Strategy) TableName() string

func (*Strategy) UniqueIndexUIPrjAppEvent

func (*Strategy) UniqueIndexUIPrjAppEvent() string

func (*Strategy) UniqueIndexUIStrategyID

func (*Strategy) UniqueIndexUIStrategyID() string

func (*Strategy) UniqueIndexes

func (*Strategy) UniqueIndexes() builder.Indexes

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) UpdateByProjectIDAndAppletIDAndEventTypeAndHandler

func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor, zeros ...string) error

func (*Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandlerWithFVs

func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandlerWithFVs(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 StrategyInfo struct {
	EventType string `db:"f_event_type" json:"eventType"`
	Handler   string `db:"f_handler"    json:"handler"`
}

type StrategyIterator

type StrategyIterator struct {
}

func (*StrategyIterator) New

func (*StrategyIterator) New() interface{}

func (*StrategyIterator) Resolve

func (*StrategyIterator) Resolve(v interface{}) *Strategy

type Text

type Text string

func (Text) Datatype

func (Text) Datatype(driver string) string

type WasmLog added in v1.1.0

WasmLog database model event @def primary ID @def unique_index UI_wasm_log_id WasmLogID

func (*WasmLog) ColAppletName added in v1.1.0

func (m *WasmLog) ColAppletName() *builder.Column

func (*WasmLog) ColCreatedAt added in v1.1.0

func (m *WasmLog) ColCreatedAt() *builder.Column

func (*WasmLog) ColDesc added in v1.1.0

func (*WasmLog) ColDesc() map[string][]string

func (*WasmLog) ColID added in v1.1.0

func (m *WasmLog) ColID() *builder.Column

func (*WasmLog) ColInstanceID added in v1.1.0

func (m *WasmLog) ColInstanceID() *builder.Column

func (*WasmLog) ColLevel added in v1.1.0

func (m *WasmLog) ColLevel() *builder.Column

func (*WasmLog) ColLogTime added in v1.1.0

func (m *WasmLog) ColLogTime() *builder.Column

func (*WasmLog) ColMsg added in v1.1.0

func (m *WasmLog) ColMsg() *builder.Column

func (*WasmLog) ColProjectName added in v1.1.0

func (m *WasmLog) ColProjectName() *builder.Column

func (*WasmLog) ColRel added in v1.1.0

func (*WasmLog) ColRel() map[string][]string

func (*WasmLog) ColUpdatedAt added in v1.1.0

func (m *WasmLog) ColUpdatedAt() *builder.Column

func (*WasmLog) ColWasmLogID added in v1.1.0

func (m *WasmLog) ColWasmLogID() *builder.Column

func (*WasmLog) Comments added in v1.1.0

func (*WasmLog) Comments() map[string]string

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) Create added in v1.1.0

func (m *WasmLog) Create(db sqlx.DBExecutor) error

func (*WasmLog) Delete added in v1.1.0

func (m *WasmLog) Delete(db sqlx.DBExecutor) 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) FetchByID added in v1.1.0

func (m *WasmLog) FetchByID(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) FieldAppletName() string

func (*WasmLog) FieldCreatedAt added in v1.1.0

func (*WasmLog) FieldCreatedAt() string

func (*WasmLog) FieldID added in v1.1.0

func (*WasmLog) FieldID() string

func (*WasmLog) FieldInstanceID added in v1.1.0

func (*WasmLog) FieldInstanceID() string

func (*WasmLog) FieldLevel added in v1.1.0

func (*WasmLog) FieldLevel() string

func (*WasmLog) FieldLogTime added in v1.1.0

func (*WasmLog) FieldLogTime() string

func (*WasmLog) FieldMsg added in v1.1.0

func (*WasmLog) FieldMsg() string

func (*WasmLog) FieldProjectName added in v1.1.0

func (*WasmLog) FieldProjectName() string

func (*WasmLog) FieldUpdatedAt added in v1.1.0

func (*WasmLog) FieldUpdatedAt() string

func (*WasmLog) FieldWasmLogID added in v1.1.0

func (*WasmLog) FieldWasmLogID() string

func (*WasmLog) IndexFieldNames added in v1.1.0

func (m *WasmLog) IndexFieldNames() []string

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) PrimaryKey() []string

func (*WasmLog) TableDesc added in v1.1.0

func (*WasmLog) TableDesc() []string

func (*WasmLog) TableName added in v1.1.0

func (*WasmLog) TableName() string

func (*WasmLog) UniqueIndexUIWasmLogID added in v1.1.0

func (*WasmLog) UniqueIndexUIWasmLogID() string

func (*WasmLog) UniqueIndexes added in v1.1.0

func (*WasmLog) UniqueIndexes() builder.Indexes

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"`
	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

Jump to

Keyboard shortcuts

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