gen

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	AgentName          string
	ModulePath         string
	CanisterName       string
	PackageName        string
	ServiceDescription did.Description
	// contains filtered or unexported fields
}

Generator is a generator for a given service description.

func NewGenerator

func NewGenerator(agentName, canisterName, packageName string, rawDID []byte) (*Generator, error)

NewGenerator creates a new generator for the given service description.

func (*Generator) Generate

func (g *Generator) Generate() ([]byte, error)

func (*Generator) Indirect added in v0.4.3

func (g *Generator) Indirect() *Generator

Indirect sets the generator to generate indirect calls.

Jump to

Keyboard shortcuts

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