config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: MIT Imports: 3 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 {
	Port                  string
	SessionsPath          string
	APIKey                string
	BaseWebhookURL        string
	MaxAttachmentSize     int
	SetMessagesAsSeen     bool
	DisabledCallbacks     []string
	RateLimitMax          int
	RateLimitWindowMs     int
	LogLevel              string
	EnableWebhook         bool
	EnableWebSocket       bool
	AutoStartSessions     bool
	EnableSwaggerEndpoint bool
	BasePath              string
}

func Load

func Load() *Config

func (*Config) IsCallbackEnabled

func (c *Config) IsCallbackEnabled(name string) bool

Jump to

Keyboard shortcuts

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