agent_deploy

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSeed

func GenerateSeed() string

func InstantiateAgent

func InstantiateAgent(agent ComposeInfo, profile string) error

func ProvideDid

func ProvideDid() (seed, did string)

func RegisterDID

func RegisterDID(seed, ledgerURL string) (string, error)

Types

type ComposeInfo added in v1.0.0

type ComposeInfo struct {
	Seed      string
	Name      string
	HostName  string
	Endpoint  string
	AdminPort string
	AgentPort string

	ControllerPort string
}

type RegisterDIDResponse

type RegisterDIDResponse struct {
	DID    string `json:"did"`
	Seed   string `json:"seed"`
	Verkey string `json:"verkey"`
}

Jump to

Keyboard shortcuts

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