mfd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Filename = "mfd.json"

Filename is the name of the file written with MFD data

Variables

This section is empty.

Functions

func Write

func Write(mfd Display)

Write writes the MFD file

Types

type Display

type Display struct {
	Pages []Page `json:"pages"`
}

Display is the main display structure to write

func (Display) Copy

func (d Display) Copy() Display

Copy creates a deep copy of this Display

type Page

type Page struct {
	Lines []string `json:"lines"`
}

Page is a single page of information to show on the MFD

func (Page) Copy

func (p Page) Copy() Page

Copy makes a deep copy of this Page

Jump to

Keyboard shortcuts

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