streaming

package
v0.0.0-...-3a9ac50 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

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

Response implements base.Response for events.LambdaFunctionURLStreamingResponse.

func (*Response) RespondBase64Data

func (r *Response) RespondBase64Data(data []byte) error

func (*Response) RespondBody

func (r *Response) RespondBody(body io.Reader) error

func (*Response) RespondJSON

func (r *Response) RespondJSON(v interface{}) (int, error)

func (*Response) RespondText

func (r *Response) RespondText(body string) error

func (*Response) SetCookie

func (r *Response) SetCookie(c http.Cookie) error

func (*Response) SetHeader

func (r *Response) SetHeader(key, value string)

func (*Response) SetStatusCode

func (r *Response) SetStatusCode(statusCode int)

func (*Response) StatusCode

func (r *Response) StatusCode() int

Jump to

Keyboard shortcuts

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