blockio

package
v1.22.3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.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 {
	// contains filtered or unexported fields
}

func New

func New() *Config

New creates a new blockio config instance

func (*Config) Enabled

func (c *Config) Enabled() bool

Enabled returns true if blockio is enabled in the system

func (*Config) Load

func (c *Config) Load(path string) error

Load loads and validates blockio config

Jump to

Keyboard shortcuts

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