conf

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryConf

type BinaryConf struct {
	Url                 string `json:"url"`
	Height              uint   `json:"height"`
	Width               uint   `json:"width"`
	ResizingThreadCount int    `json:"resizingThreadCount"`
	ToResizeChannelSize int    `json:"toResizeChannelSize"`
}

type Conf

type Conf struct {
	LogLevel      string            `json:"loggingLevel"`
	Elasticsearch ElasticsearchConf `json:"elasticsearch"`
	Binary        BinaryConf        `json:"binary"`
	Kibana        KibanaConf        `json:"kibana"`
	Dropzone      DropzoneConf      `json:"dropzone"`
}

func LoadConf

func LoadConf(f string) (Conf, error)

type DropzoneConf added in v1.1.0

type DropzoneConf struct {
	Root            string `json:"root"`
	Period          string `json:"period"`
	FileChannelSize int    `json:"fileChannelSize"`
}

type ElasticsearchConf

type ElasticsearchConf struct {
	Url                   string `json:"url"`
	ExtractionThreadCount int    `json:"extractionThreadCount"`
	ToExtractChannelSize  int    `json:"toExtractChannelSize"`
}

type KibanaConf

type KibanaConf struct {
	Url string `json:"url"`
}

Jump to

Keyboard shortcuts

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