Documentation
¶
Index ¶
- type Header
- func (h *Header) AssignVariable(variable string, value lang.Object) error
- func (h *Header) Execute(_ []*models.Node) (lang.Object, error)
- func (h *Header) Get(_ []*models.Node) (lang.Object, error)
- func (h *Header) GetMethod(name string) (lang.Method, error)
- func (h *Header) GetNew() lang.Executer
- func (h *Header) GetVariable(variable string) (lang.Object, error)
- func (h *Header) Variables() []string
- type HttpServer
- type Request
- func (r *Request) Copy() lang.Object
- func (r *Request) Method(name string) lang.Method
- func (r *Request) Methods() []string
- func (r *Request) SetVariable(_ string, _ lang.Object) error
- func (r *Request) String() string
- func (r *Request) Type() lang.ObjType
- func (*Request) TypeString() string
- func (r *Request) Value() any
- func (r *Request) Variable(variable string) lang.Object
- func (r *Request) Variables() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct {
// contains filtered or unexported fields
}
Header
func (*Header) AssignVariable ¶
type HttpServer ¶
type HttpServer struct {
Body bytes.Buffer
Code int
Written bool
// contains filtered or unexported fields
}
func New ¶
func New(w http.ResponseWriter, r *http.Request) *HttpServer
func (*HttpServer) Namespace ¶
func (*HttpServer) Namespace() string
Click to show internal directories.
Click to hide internal directories.