configs

package
v0.0.0-...-49ede41 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2017 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Server struct {
		Host              string `yaml:"host"`
		Port              int    `yaml:"port"`
		ClientMaxBodySize string `yaml:"client_max_body_size"`
	}
	Collection struct {
		DefaultName         string `yaml:"default_name"`
		TtlScanPeriodMillis int    `yaml:"ttl_scan_period"`
	}
	ExpirationHandler []ExpHandlerConfigs `yaml:"expiration_handler"`
}

type ExpHandlerConfigs

type ExpHandlerConfigs struct {
	Type       string            `yaml:"type"`
	Enable     bool              `yaml:"enable"`
	Properties map[string]string `yaml:"properties"`
}

Jump to

Keyboard shortcuts

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