oem

package
v3.4.25 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

View Source
const ENV = "IOT_MASTER_OEM_"

Variables

This section is empty.

Functions

func Load

func Load() error

func SetOptions

func SetOptions(opts Options)

func Store

func Store() error

Types

type Options

type Options struct {
	Title     string `yaml:"title,omitempty" json:"title,omitempty"`
	Company   string `yaml:"company,omitempty" json:"company,omitempty"`
	Copyright string `yaml:"copyright,omitempty" json:"copyright,omitempty"`
}

func Default

func Default() Options

func GetOptions

func GetOptions() Options

func (*Options) FromEnv

func (options *Options) FromEnv()

func (*Options) ToEnv

func (options *Options) ToEnv() []string

Jump to

Keyboard shortcuts

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