config

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 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 BloxConfig

type BloxConfig struct {
	DataDir             string `json:"data_dir"`
	SupportedExtensions string `json:"supported_extensions"`
}

BloxConfig stores metadata about a content repository

func Load

func Load() (*BloxConfig, error)

Load reads the BloxConfig from the blox.yaml file

func (*BloxConfig) Write

func (b *BloxConfig) Write(w io.Writer) error

Write saves the BloxConfig as YAML to the specified io.Writer

Jump to

Keyboard shortcuts

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