settings

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enum

type Enum struct {
	RemovePrefix           bool `toml:"remove_prefix" default:"false"`
	RemoveUnspecifiedEntry bool `toml:"remove_unspecified_entry" default:"false"`
}

type Mikros

type Mikros struct {
	UseOutboundMessages bool   `toml:"use_outbound_messages" default:"false"`
	UseInboundMessages  bool   `toml:"use_inbound_messages" default:"false"`
	SettingsFilename    string `toml:"settings_filename"`
}

type Output

type Output struct {
	Path string `toml:"path" default:"openapi"`
}

type Settings

type Settings struct {
	Debug  bool    `toml:"debug" default:"false"`
	Enum   *Enum   `toml:"enum" default:"{}"`
	Mikros *Mikros `toml:"mikros" default:"{}"`
	Output *Output `toml:"output" default:"{}"`

	MikrosSettings *msettings.Settings
}

func LoadSettings

func LoadSettings(filename string) (*Settings, error)

Jump to

Keyboard shortcuts

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