 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Attribute
- type Config
- type ContractProject
- type Manager
- type Meta
- type Project
- func (p *Project) Config(version string) (*Config, error)
- func (p *Project) DefaultConfig() (*Config, error)
- func (v Project) MarshalEasyJSON(w *jwriter.Writer)
- func (v Project) MarshalJSON() ([]byte, error)
- func (v *Project) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Project) UnmarshalJSON(data []byte) error
 
- type ProjectFile
- type UpsertProjectFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
func (Attribute) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Attribute) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Attribute) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Attribute) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Config ¶
type Config struct {
	Version      string `json:"version"`
	VMTypeID     uint64 `json:"vmTypeID"`
	CodeExpParam string `json:"codeExpParam,omitempty"`
	Code         string `json:"code"`
}
    func (Config) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Config) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Config) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Config) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Manager ¶
type Manager struct {
	// contains filtered or unexported fields
}
    func NewManager ¶
func NewManager(cp ContractProject, pf ProjectFile, upf UpsertProjectFile) *Manager
type Meta ¶
func (*Meta) FetchProjectFile ¶
func (Meta) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Meta) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Meta) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Meta) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Project ¶
type Project struct {
	DefaultVersion string    `json:"defaultVersion"`
	Versions       []*Config `json:"versions"`
}
    func (*Project) DefaultConfig ¶
func (Project) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Project) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Project) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Project) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface