api

package
v0.6.9-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const HTTP2_GOAWAY_CHECK = "http2: server sent GOAWAY and closed the connection"

Variables

This section is empty.

Functions

func NewCall

func NewCall(val cue.Value) (hofcontext.Runner, error)

func NewServe

func NewServe(val cue.Value) (hofcontext.Runner, error)

Types

type Call

type Call struct{}

func (*Call) Run

func (T *Call) Run(ctx *hofcontext.Context) (interface{}, error)

type Serve

type Serve struct {
	sync.Mutex
}

func (*Serve) Run

func (T *Serve) Run(ctx *hofcontext.Context) (interface{}, error)

Jump to

Keyboard shortcuts

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