bot

package
v0.0.1-061123-20c5208 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Bot *tg.Config `yaml:"bot" validate:"required"`

	Database *struct {
		DBS string `yaml:"dbs" validate:"required"`
	} `yaml:"database" validate:"required"`

	Service *service.Config `yaml:"service" validate:"required"`

	Standup *struct {
		Addr string `yaml:"addr" validate:"required,hostname_port"`
	} `yaml:"standup" validate:"required"`

	PrivateKeyFile string `yaml:"private_key_file" validate:"required,file"`
}

Directories

Path Synopsis
repository
pg

Jump to

Keyboard shortcuts

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