http

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	dims.Request
	// contains filtered or unexported fields
}

func NewRequest

func NewRequest(r *http.Request, w http.ResponseWriter, config core.Config) (*Request, error)

func (*Request) CacheControl

func (r *Request) CacheControl() string

func (*Request) ContentDisposition

func (r *Request) ContentDisposition() string

func (*Request) EdgeControl

func (r *Request) EdgeControl() string

func (*Request) Etag

func (r *Request) Etag() string

func (*Request) Expires

func (r *Request) Expires() string

func (*Request) HashId

func (r *Request) HashId() string

func (*Request) LastModified

func (r *Request) LastModified() string

func (*Request) SendError

func (r *Request) SendError(err error) error

func (*Request) SendHeaders

func (r *Request) SendHeaders()

func (*Request) SendImage

func (r *Request) SendImage(status int, imageFormat string, imageBlob []byte) error

Jump to

Keyboard shortcuts

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