package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Jan 30, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Encode a configuration to a writer
Write the configuration into a file, specified by the configuration filepath
type Config struct {
DeviceID string `json:"device_id"`
DSN string `json:"dsn"`
}
Config represent the configuration
Decode a configuration from a reader
Read the configuration file
Source Files
¶
Click to show internal directories.
Click to hide internal directories.