network

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, network Network) error

Add adds a network.

func SetDefault

func SetDefault(name string) error

SetDefault changes default network.

Types

type Network

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

func Default

func Default() Network

Default returns a default network.

func (Network) Urls

func (n Network) Urls() string

Urls is a utility function to join URLs into a string.

type Networks

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

Jump to

Keyboard shortcuts

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