Documentation ¶
Index ¶
- func GenerateCargofile(packageName string, packageVersion string) ([]byte, error)
- func GenerateGuest(signatureSchema *signature.Schema, signatureHash string, packageName string) ([]byte, error)
- func GenerateTypes(signatureSchema *signature.Schema, packageName string) ([]byte, error)
- type Generator
- func (g *Generator) GenerateCargofile(packageName string, packageVersion string) ([]byte, error)
- func (g *Generator) GenerateGuest(signatureSchema *signature.Schema, signatureHash string, packageName string) ([]byte, error)
- func (g *Generator) GenerateTypes(signatureSchema *signature.Schema, packageName string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCargofile ¶
GenerateCargofile generates the cargo.toml file for the signature
func GenerateGuest ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator is the rust generator
func (*Generator) GenerateCargofile ¶
GenerateCargofile generates the cargofile for the signature
Click to show internal directories.
Click to hide internal directories.