localconfig

package
v1.54.14 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalConfiguration

type LocalConfiguration struct {
	Apis       map[string]LocalResourceConfiguration `yaml:"apis"`
	Websockets map[string]LocalResourceConfiguration `yaml:"websockets"`
}

func LocalConfigurationFromFile

func LocalConfigurationFromFile(fs afero.Fs, filePath string) (*LocalConfiguration, error)

type LocalResourceConfiguration

type LocalResourceConfiguration struct {
	// This port is used to map the local
	Port int `yaml:"port"`
}

Jump to

Keyboard shortcuts

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