config

package
v0.0.0-...-09eb250 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SJerk          vec.Vec4 `json:"s-jerk"`
	TicksPerSecond int      `json:"ticks-per-second"`
	Format         string   `json:"format"`
	BedMax         f64.Vec2 `json:"bed-max"`
	BedSamplesPath string   `json:"bed-samples-path"`
}

func LoadConfig

func LoadConfig(path string) (conf Config, err error)

type PageFormat

type PageFormat struct {
	Directional  bool
	Bytes        int
	Segments     int
	SegmentSteps int
}

PageFormat details a specific page format

func GetPageFormat

func GetPageFormat(name string) PageFormat

Jump to

Keyboard shortcuts

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