daemon

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDaemonCmd

func NewDaemonCmd(parser *flags.Parser, revision string) error

Types

type Cmd

type Cmd struct {
	Listen   string `long:"listen" description:"Webhook listen" env:"LISTEN" default:"127.0.0.1:8080"`
	Timezone string `long:"timezone" description:"Change alerts timezone to" env:"TZ" default:"UTC"`
	// contains filtered or unexported fields
}

func (*Cmd) Execute

func (s *Cmd) Execute(args []string) error

type TelegramOptions

type TelegramOptions struct {
	Token  string   `long:"token" description:"Telegram bot token" env:"TOKEN" required:"true"`
	ChatId []string `` /* 154-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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