moduleconfig

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleConfig

type ModuleConfig struct {
	Header   config.FileHeader
	IP       string
	Port     string
	Station1 Station
	Station2 Station
}

func (*ModuleConfig) LoadConfig

func (hc *ModuleConfig) LoadConfig() error

func (ModuleConfig) SaveConfig

func (hc ModuleConfig) SaveConfig() error

type Station

type Station struct {
	Active      bool
	ReadOffset  uint16
	WriteOffset uint16
}

Jump to

Keyboard shortcuts

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