Cleaned up context interface

This commit is contained in:
Eduard Urbach 2024-03-16 15:30:05 +01:00
parent 91bb39bcfd
commit debe00b9a9
Signed by: eduard
GPG key ID: 49226B848C78F6C8

View file

@ -12,13 +12,13 @@ import (
type Context interface { type Context interface {
Copy(io.Reader) error Copy(io.Reader) error
Bytes([]byte) error Bytes([]byte) error
Error(messages ...any) error Error(...any) error
File(path string) error File(string) error
Get(param string) string Get(string) string
Next() error Next() error
Request() Request Request() Request
Response() Response Response() Response
Status(status int) Context Status(int) Context
String(string) error String(string) error
} }