app

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 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 App

type App struct {
	APIs map[string]types.APIInfo
}

App represents the main application

func NewApp

func NewApp() *App

NewApp creates a new instance of the application

func (*App) GetAvailableAPIs

func (a *App) GetAvailableAPIs() []types.APIInfo

GetAvailableAPIs returns a list of available APIs

func (*App) HandleQuery

func (a *App) HandleQuery(apiShortcut, query string) (string, error)

HandleQuery processes a query for a specific API

Jump to

Keyboard shortcuts

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