config

package
v0.0.0-...-75ed8df Latest Latest
Warning

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

Go to latest
Published: Aug 25, 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 {
	TelegramBotTextToken  string
	TelegramBotImageToken string
	GptApiKey             string
	SendImageByUrl        bool
	GptModel              string
	TelegramWebhookToken  string
}
var (
	Store *Config
)

func NewConfig

func NewConfig(t ConfigType) *Config

type ConfigType

type ConfigType int64
const (
	SSM  ConfigType = 0
	File ConfigType = 1
)

Jump to

Keyboard shortcuts

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