mistconnector

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintMistConfigJson

func PrintMistConfigJson(name, description, friendlyName, version string, flagSet *flag.FlagSet)

Types

type MistConfig

type MistConfig struct {
	Name         string                  `json:"name"`
	Description  string                  `json:"desc"`
	FriendlyName string                  `json:"friendly"`
	Optional     map[string]MistOptional `json:"optional,omitempty"`
	Required     map[string]MistOptional `json:"required,omitempty"`
	Version      string                  `json:"version,omitempty"`
}

type MistOptional

type MistOptional struct {
	Name    string `json:"name"`
	Help    string `json:"help"`
	Option  string `json:"option,omitempty"`
	Default string `json:"default,omitempty"`
	Type    string `json:"type,omitempty"`
}

Jump to

Keyboard shortcuts

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