Versions in this module Expand all Collapse all v1 v1.0.0 Apr 15, 2021 Changes in this version + func NewKeyStore(conn *Conn) storage.KeyStore + func NewRouterStore(conn *Conn) storage.StrategyStore + type Conn struct + DB *gorm.DB + func NewSQLiteConn(cfg *config.DBConfig) (*Conn, error) + type Group struct + BindIds string + CreatedAt time.Time + DeletedAt sql.NullTime + GroupId uint + Name string + UpdatedAt time.Time + type GroupAuth struct + CreatedAt time.Time + DeletedAt sql.NullTime + GroupId uint + Token string + UpdatedAt time.Time + type Key struct + Address core.Address + PublicKey []byte + type KeyBind struct + Address string + BindId uint + CreatedAt time.Time + DeletedAt sql.NullTime + MetaTypes core.MsgEnum + MethodNames string + Name string + UpdatedAt time.Time + type MethodTemplate struct + CreatedAt time.Time + DeletedAt sql.NullTime + MTId uint + Methods string + Name string + UpdatedAt time.Time + type MsgTypeTemplate struct + CreatedAt time.Time + DeletedAt sql.NullTime + MTTId uint + MetaTypes core.MsgEnum + Name string + UpdatedAt time.Time + type SqlKeyInfo core.KeyInfo + func (mki *SqlKeyInfo) IsValid() bool + func (mki *SqlKeyInfo) Scan(value interface{}) error + func (mki SqlKeyInfo) Value() (driver.Value, error) + type SqlScannerValuer interface + type TableName = string + const TBGroup + const TBGroupAuth + const TBKeyBind + const TBMethodTemplate + const TBMsgTypeTemplate + const TBWallet + type Wallet struct + Address string + KeyInfo *SqlKeyInfo + Meta *SqlScannerValuer + func (w *Wallet) TableName() string