config

package
v0.0.0-...-94bce39 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: MIT Imports: 4 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 {
	TelegramBotToken    string
	TelegramApiHost     string
	GithubFetchEvery    string
	GithubFetchRate     float64 // github fetch rate limiting (in RPS)
	GithubFetchTimeout  float64 // github fetch http client timeout
	TelegramHttpTimeout float64 // telegram http client timeout
}

func New

func New() *Config

New returns a new Config struct

Jump to

Keyboard shortcuts

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