Documentation
¶
Index ¶
Constants ¶
View Source
const (
TokenKey = "token"
)
Variables ¶
View Source
var TokenKeyFn = contract.PathKeyFn(TokenKey)
Functions ¶
func Idx ¶
func Idx(p ...string) []contract.IndexEntry
func IdxSrch ¶
func IdxSrch(p ...string) []contract.SearchIndexEntry
func Rules ¶
func Rules(p ...string) contractpkg.QueryParamRules
Types ¶
type Core ¶
type Core struct {
Token *string `json:"token" validate:"nnpt"`
}
func ApplyCore ¶
func ApplyCore(c *Core, modifiers ...CoreOption) Core
type CoreOption ¶
type CoreOption = contracti.CoreOption[Core]
func WithToken ¶
func WithToken(x string) CoreOption
type Meta ¶
type Meta struct{}
func ApplyMeta ¶
func ApplyMeta(m *Meta, modifiers ...MetaOption) Meta
type MetaOption ¶
type MetaOption = contract.MetaOption[Meta]
Click to show internal directories.
Click to hide internal directories.