context

package
v0.0.0-...-d4a8086 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contexter

func Contexter() flamego.Handler

Contexter initializes a classic context for a request.

Types

type Context

type Context struct {
	flamego.Context
}

Context represents context of a request.

func (Context) String

func (ctx Context) String(statusCode int, body string, v ...interface{})

String writes the plain text response body with the given status code.

Jump to

Keyboard shortcuts

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