Documentation
¶
Overview ¶
Code generated by rice embed-go; DO NOT EDIT.
Index ¶
- Variables
- func NewExporter(snapshotPath, dataDir string, opts ...Option) (*exporter, error)
- func SN(in string) eos.ScopeName
- func TN(in string) eos.TableName
- type Account
- type AccountInfo
- type Contract
- type Eject
- type Idxc
- type Idxdbl
- type Idxi
- type Idxii
- type Idxldbl
- type Inject
- type LinkAuth
- type OpMigration
- type Option
- type PermissionObject
Constants ¶
This section is empty.
Variables ¶
View Source
var AN = eos.AN
View Source
var ActN = eos.ActN
View Source
var PN = eos.PN
Functions ¶
func NewExporter ¶
Types ¶
type AccountInfo ¶
type AccountInfo struct {
Permissions []*PermissionObject `json:"permissions"`
LinkAuths []*LinkAuth `json:"link_auths"`
// contains filtered or unexported fields
}
type Contract ¶
func NewContract ¶
type Eject ¶
type Eject struct {
Account eos.AccountName `json:"account"`
Table eos.TableName `json:"table"`
Scope eos.ScopeName `json:"scope"`
Key eos.Name `json:"id"`
}
Delete represents the `Delete` struct on `migration` contract.
type Idxc ¶
type Idxc struct {
Table eos.TableName `json:"table"`
Scope eos.ScopeName `json:"scope"`
Payer eos.Name `json:"payer"`
Key eos.Name `json:"id"`
Secondary eos.Checksum256 `json:"secondary"`
}
Idxc represents the `Idxc` struct on `migration` contract.
type Idxdbl ¶
type Idxdbl struct {
Table eos.TableName `json:"table"`
Scope eos.ScopeName `json:"scope"`
Payer eos.Name `json:"payer"`
Key eos.Name `json:"id"`
Secondary float64 `json:"secondary"`
}
Idxdbl represents the `Idxdbl` struct on `migration` contract.
type Idxi ¶
type Idxi struct {
Table eos.TableName `json:"table"`
Scope eos.ScopeName `json:"scope"`
Payer eos.Name `json:"payer"`
Key eos.Name `json:"id"`
Secondary eos.Name `json:"secondary"`
}
Idxi represents the `Idxi` struct on `migration` contract.
type Idxii ¶
type Idxii struct {
Table eos.TableName `json:"table"`
Scope eos.ScopeName `json:"scope"`
Payer eos.Name `json:"payer"`
Key eos.Name `json:"id"`
Secondary eos.Uint128 `json:"secondary"`
}
Idxii represents the `Idxii` struct on `migration` contract.
type Idxldbl ¶
type Idxldbl struct {
Table eos.TableName `json:"table"`
Scope eos.ScopeName `json:"scope"`
Payer eos.Name `json:"payer"`
Key eos.Name `json:"id"`
Secondary eos.Float128 `json:"secondary"`
}
Idxldbl represents the `Idxldbl` struct on `migration` contract.
type Inject ¶
type Inject struct {
Table eos.TableName `json:"table"`
Scope eos.ScopeName `json:"scope"`
Payer eos.Name `json:"payer"`
Key eos.Name `json:"id"`
Data eos.HexBytes `json:"data"`
}
Inject represents the `inject` struct on `migration` contract.
type OpMigration ¶
type OpMigration struct {
DataDir string `json:"data_dir"`
}
func (*OpMigration) RequireValidation ¶
func (op *OpMigration) RequireValidation() bool
type PermissionObject ¶
type PermissionObject struct {
// Parent of this permission object
Parent eos.PermissionName `json:"parent,omitempty"`
// Owner is the account for which this permission belongs to
Owner eos.AccountName `json:"owner,omitempty"`
// Name is the permission's name this permission object is known as (human-readable name for the permission)
Name eos.PermissionName `json:"name,omitempty"`
// Authority required to execute this permission
Authority *eos.Authority `json:"authority,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.