properties

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map map[string]interface{}

Map is a map of server properties.

func Read

func Read(raw []byte) (Map, error)

Read reads the bytes of a server.properties file into a `map`.

An error is returned if any lines are malformed (i.e., cannot be split into a key/value pair).

Jump to

Keyboard shortcuts

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