definitions

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFeature

func AppendFeature(path, featureName string, featureDefs interface{}) error

AppendFeature appends a new section inside the 'service.toml' file to be loaded as settings for a specific feature.

func AppendService

func AppendService(path, serviceType string, serviceDefs interface{}) error

AppendService appends a new section inside the 'service.toml' file to be loaded as settings for a specific service type.

func Write

func Write(path string, defs *definition.Definitions, options ...*WriteOptions) error

Write writes a mikros 'service.toml' file locally.

Types

type WriteOptions

type WriteOptions struct {
	NoValidation bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳