v1

package
v0.54.1-nocontractcheck Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DifferentNetworkNamesError

type DifferentNetworkNamesError struct {
	// contains filtered or unexported fields
}

func NewDifferentNetworkNamesError

func NewDifferentNetworkNamesError(f, c string) DifferentNetworkNamesError

func (DifferentNetworkNamesError) Error

type Store

type Store struct {
	// contains filtered or unexported fields
}

func InitialiseStore

func InitialiseStore(vegaPaths paths.Paths) (*Store, error)

func (*Store) DeleteNetwork

func (s *Store) DeleteNetwork(name string) error

func (*Store) GetNetwork

func (s *Store) GetNetwork(name string) (*network.Network, error)

func (*Store) GetNetworkPath

func (s *Store) GetNetworkPath(name string) string

func (*Store) GetNetworksPath

func (s *Store) GetNetworksPath() string

func (*Store) ListNetworks

func (s *Store) ListNetworks() ([]string, error)

func (*Store) NetworkExists

func (s *Store) NetworkExists(name string) (bool, error)

func (*Store) SaveNetwork

func (s *Store) SaveNetwork(net *network.Network) error

Jump to

Keyboard shortcuts

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