config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 2 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 {
	Prefix       string                `mapstructure:"prefix"`
	Config       data.ConfigData       `mapstructure:"config"`
	Capabilities data.CapabilitiesData `mapstructure:"capabilities"`
	GatewaySvc   string                `mapstructure:"gatewaysvc"`
	DisableTus   bool                  `mapstructure:"disable_tus"`
}

Config holds the config options that need to be passed down to all ocs handlers

func (*Config) Init

func (c *Config) Init()

Init sets sane defaults

Jump to

Keyboard shortcuts

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