localconfig

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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