Cleaned up context interface
This commit is contained in:
parent
91bb39bcfd
commit
debe00b9a9
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue