Cleaned up context interface
This commit is contained in:
parent
4df715f3b8
commit
e16221c971
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user