config

package
v0.0.0-...-c57cf68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2015 License: GPL-3.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	Type() string
}

func NewConfig

func NewConfig(version semver.Version) Config

func Unwrap

func Unwrap(in Config) Config

Unwrap config in case we are dealing with a unspecificConfig. This cludge is necessary as storage/factory has no knowledge of the inner structure of this type. Moving the factory to this package is no option as there will be a cyclic dependency of the type

storage/config -> storage (via return type) -> storage/config (via StorageProvider.Marshal)

Jump to

Keyboard shortcuts

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