config

package
v0.0.0-...-507705e Latest Latest
Warning

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

Go to latest
Published: Mar 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 Configurator

type Configurator interface {
	IsEnabled() bool
	GetEndpoint() string
}

Configurator An interface for handling the upload configuration

type SimpleConfigurator

type SimpleConfigurator struct {
	Report   bool
	Endpoint string
}

SimpleConfigurator defines the standard config for this operator.

func (*SimpleConfigurator) GetEndpoint

func (s *SimpleConfigurator) GetEndpoint() string

GetEndpoint Returns the endpoint for the configuration

func (*SimpleConfigurator) IsEnabled

func (s *SimpleConfigurator) IsEnabled() bool

IsEnabled Returns the seting for the configuration

Jump to

Keyboard shortcuts

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