Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfigFileNotExist = fmt.Errorf("token.yml file not found")
)
Functions ¶
func Alert ¶
func Alert(config TokenConfig, message string) error
func PrintErrorAndExit ¶
func RegisterChatId ¶
func RegisterChatId(config TokenConfig) error
Types ¶
type TokenConfig ¶
func LoadConfigurationFromHomeDirectory ¶
func LoadConfigurationFromHomeDirectory() (TokenConfig, error)
func (TokenConfig) Save ¶
func (config TokenConfig) Save() error
Click to show internal directories.
Click to hide internal directories.