config

package
v0.0.0-...-d5a36d1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: Apache-2.0 Imports: 0 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 {
	Processor string                   `json:"processor" yaml:"processor" toml:"processor"`
	Imaginary ImaginaryProcessorConfig `json:"imaginary,omitempty" yaml:"imaginary,omitempty" toml:"imaginary,omitempty"`
	// Cache
	Cache string           `json:"cache" yaml:"cache" toml:"cache"`
	Redis RedisCacheConfig `json:"redis,omitempty" yaml:"redis,omitempty" toml:"redis,omitempty"`
	File  FileCacheConfig  `json:"file,omitempty" yaml:"file,omitempty" toml:"file,omitempty"`
}

Config the plugin configuration.

type FileCacheConfig

type FileCacheConfig struct {
	Path string `json:"path" yaml:"path" toml:"path"`
}

type ImaginaryProcessorConfig

type ImaginaryProcessorConfig struct {
	Url string `json:"url" yaml:"url" toml:"url"`
}

type RedisCacheConfig

type RedisCacheConfig struct {
	Url string `json:"url" yaml:"url" toml:"url"`
}

Jump to

Keyboard shortcuts

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