package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Jun 14, 2020
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
FILE name of the hog configuration file
AddFiles to the hog file and return the bucket id
BaseDir return the path of the directory that contains the hog file
CreateEmptyHogFile create a default hog object in the default hog path
GetID returns a random id
Path return the path of the hog file
Save a hog object in the default hog path
SaveToPath saves a hog object in a specific path
type Hog struct {
Domain string `yaml:"domain"`
Protocol string `yaml:"protocol"`
Port int `yaml:"port"`
Buckets map[string][]string `yaml:"buckets"`
}
Hog hold the structure of the files
FromPath load a hog object from an specific path
Get the hog object from the hog path
Source Files
¶
Click to show internal directories.
Click to hide internal directories.