kos/context.go

9 lines
161 B
Go
Raw Normal View History

2023-04-23 17:57:36 +08:00
package kos
type Context interface {
Bind(v any) (err error)
Param(s string) string
Success(v any) (err error)
Error(code int, reason string) (err error)
}