kos/context.go

9 lines
161 B
Go

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