api

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 17 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