Documentation ¶
Index ¶
- func AddDomainEndpoints(r *httprouter.Router, db domainQueries, res domainResolver, ...)
- func AddRecordEndpoints(r *httprouter.Router, db recordQueries, res recordResolver, ...)
- func NewApiServer(db *database.Queries, res *resolver.Resolver, verify *mjwt.KeyStore, ...) *httprouter.Router
- type AuthCallback
- type AuthClaims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDomainEndpoints ¶
func AddDomainEndpoints(r *httprouter.Router, db domainQueries, res domainResolver, verify *mjwt.KeyStore)
func AddRecordEndpoints ¶
func AddRecordEndpoints(r *httprouter.Router, db recordQueries, res recordResolver, verify *mjwt.KeyStore)
Types ¶
type AuthCallback ¶
type AuthCallback func(rw http.ResponseWriter, req *http.Request, params httprouter.Params, b AuthClaims)
type AuthClaims ¶
type AuthClaims mjwt.BaseTypeClaims[auth.AccessTokenClaims]
Click to show internal directories.
Click to hide internal directories.