Documentation ¶
Index ¶
- type Error
- type ExtendableSend
- type Json
- type Send
- type Sender
- func (s *Sender) Asset(name string, bytes []byte) error
- func (s *Sender) Bool(value bool) error
- func (s *Sender) Empty() error
- func (s *Sender) Error(e any) error
- func (s *Sender) File(name string, bytes []byte) error
- func (s *Sender) Header() http.Header
- func (s *Sender) Html(value string) error
- func (s *Sender) Json(value any) error
- func (s *Sender) Redirect(url string) error
- func (s *Sender) Status(statusCode int) Send
- func (s *Sender) Text(value string) error
- func (s *Sender) Xml(value any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendableSend ¶
type ExtendableSend interface { Header() http.Header Empty() error Error(e any) error Json(value any) error Html(value string) error Xml(value any) error Text(value string) error Bool(value bool) error Redirect(url string) error File(name string, bytes []byte) error Asset(name string, bytes []byte) error }
Click to show internal directories.
Click to hide internal directories.