api

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TOKEN_QUERY_PARAM = "token"

Variables

This section is empty.

Functions

func GetCLIUsage

func GetCLIUsage(runtime *runtime.Runtime, res http.ResponseWriter, req *http.Request)

func GetPosition

func GetPosition(runtime *runtime.Runtime, res http.ResponseWriter, req *http.Request)

func HandleCLI

func HandleCLI(runtime *runtime.Runtime) http.HandlerFunc

func HandleMessage

func HandleMessage(runtime *runtime.Runtime) http.HandlerFunc

func HandleWorkerAck

func HandleWorkerAck(runtime *runtime.Runtime) http.HandlerFunc

func HandleWorkerLogs

func HandleWorkerLogs(runtime *runtime.Runtime) http.HandlerFunc

func HandleWorkerQueue

func HandleWorkerQueue(runtime *runtime.Runtime) http.HandlerFunc

func HandleWorkerResult

func HandleWorkerResult(runtime *runtime.Runtime) http.HandlerFunc

func SendCLIMethod

func SendCLIMethod(runtime *runtime.Runtime, res http.ResponseWriter, req *http.Request)

func ServeAPI

func ServeAPI(runtime *runtime.Runtime)

func ServeHTTP

func ServeHTTP(runtime *runtime.Runtime)

func ServeHTTPS

func ServeHTTPS(runtime *runtime.Runtime)

func WriteLogs

func WriteLogs(runtime *runtime.Runtime, res http.ResponseWriter, req *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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