Cleaned up context interface

This commit is contained in:
2024-03-16 15:30:05 +01:00
parent 4df715f3b8
commit e16221c971

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