hcl

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

This is driver use HCL format content as config source

about HCL, please see https://github.com/hashicorp/hcl

Index

Constants

This section is empty.

Variables

View Source
var Decoder config.Decoder = func(blob []byte, ptr interface{}) (err error) {
	return hcl.Unmarshal(blob, ptr)
}

Decoder the hcl content decoder

View Source
var Driver = &hclDriver{config.Hcl}

Driver

View Source
var Encoder config.Encoder = func(ptr interface{}) (out []byte, err error) {
	err = errors.New("HCL: is not support encode data to HCL")
	return
}

Encoder the hcl content encoder

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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