config

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 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 {
	Port         int
	Debug        bool
	Version      bool
	Timeout      time.Duration
	MaxTokens    int
	DefaultModel string
	ImagePath    string
	ImageWidth   int
	ImageHeight  int
	StripeWidth  int
}

Config represents the application configuration

func New

func New() *Config

New creates a new configuration with default values

Jump to

Keyboard shortcuts

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