Cleaned up context interface

This commit is contained in:
2024-03-16 15:30:05 +01:00
parent 20e9cf88a5
commit 174306702a

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
} }