unix

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Type = "unix"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Path           string        `yaml:"path,omitempty" validate:"required"`
	MaxBytes       int           `yaml:"maxBytes,omitempty" default:"40960"`
	MaxConnections int           `yaml:"maxConnections" default:"512"`
	Timeout        time.Duration `yaml:"timeout" default:"5m"`
	Mode           string        `yaml:"mode" default:"0755"`
}

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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