ai_key

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(id, name string, v *Config, workers map[eosc.RequireId]eosc.IWorker) (eosc.IWorker, error)

func NewFactory

func NewFactory() eosc.IExtenderDriverFactory

NewFactory creates AI Key Factory

func Register

func Register(register eosc.IExtenderDriverRegister)

Register AI Key Factory

Types

type Config

type Config struct {
	Expired  int64  `json:"expired"`
	Config   string `json:"config"`
	Provider string `json:"provider"`
	Priority int    `json:"priority"`
	Disabled bool   `json:"disabled"`
}

Jump to

Keyboard shortcuts

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