asp

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Timestamp

func Timestamp() string

Types

type Response

type Response struct {
	// contains filtered or unexported fields
}

func NewErrorResponse

func NewErrorResponse(code int) *Response

func NewOKResponse

func NewOKResponse() *Response

func NewSyntaxErrorResponse

func NewSyntaxErrorResponse() *Response

func (*Response) Serialize

func (r *Response) Serialize() string

func (*Response) WriteData

func (r *Response) WriteData(elems ...string) *Response

func (*Response) WriteHeader

func (r *Response) WriteHeader(elems ...string) *Response

Jump to

Keyboard shortcuts

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