package
Version:
v0.0.0-...-b679ee6
Opens a new window with list of versions in this module.
Published: Jan 19, 2018
License: MIT
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
¶
Package config holds all stuff related to slk configuration ($HOME/.slk)
type Config struct {
Channel string `toml:"channel"`
ChannelName string `toml:"channel-name"`
Token string `toml:"token"`
Username string `toml:"username"`
Users map[string]string `toml:"users"`
ChannelTs map[string]string `toml:"channel-ts"`
}
Config holds slk configuration
Read reads config from file ($HOME/.slk)
Read reads config from file ($HOME/.slk)
Write writes config to file ($HOME/.slk)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.