proxy

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(f string) error

func Run

func Run(ctx context.Context) error

Types

type Config

type Config struct {
	Log    logx.Config       `yaml:"log"`
	Host   string            `yaml:"host"`
	Tokens []string          `yaml:"tokens"`
	LLM    llmx.ModelsConfig `yaml:"llm"`
}
var (
	// default server config
	C Config = Config{
		Log: logx.Config{
			Level: "info",
		},
		Host: "0.0.0.0:9000",
	}
)

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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