webserver

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SttInitFunc func() error

Functions

func DisableCachingAndSniffing added in v1.4.2

func DisableCachingAndSniffing(next http.Handler) http.Handler

func GetLatestCommitSha added in v1.4.1

func GetLatestCommitSha() (string, error)

func GetLatestReleaseTag added in v1.3.1

func GetLatestReleaseTag(owner, repo string) (string, error)

func StartWebServer

func StartWebServer()

Types

type CustomIntent added in v1.4.1

type CustomIntent struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Utterances  []string `json:"utterances"`
	Intent      string   `json:"intent"`
	Params      struct {
		ParamName  string `json:"paramname"`
		ParamValue string `json:"paramvalue"`
	} `json:"params"`
	Exec           string   `json:"exec"`
	ExecArgs       []string `json:"execargs"`
	IsSystemIntent bool     `json:"issystem"`
}

Jump to

Keyboard shortcuts

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