Documentation ¶
Index ¶
- Variables
- func AuthMiddleware(auth *auth.Client, log *logan.Entry) func(http.Handler) http.Handler
- func CtxIssuer(iss *issuer.Issuer) func(context.Context) context.Context
- func CtxLog(entry *logan.Entry) func(context.Context) context.Context
- func CtxNotificator(notificator notificator.Notificator) func(context.Context) context.Context
- func CtxOrgsConfig(cfg config.OrgsConfig) func(context.Context) context.Context
- func CtxS3(s3 *s3.Storage) func(context.Context) context.Context
- func CtxStorage(storage data.Storage) func(context.Context) context.Context
- func CtxUserClaim(claim []resources.Claim) func(context.Context) context.Context
- func GetOffsetLinks(r *http.Request, p pgdb.OffsetPageParams) *resources.Links
- func GroupByID(w http.ResponseWriter, r *http.Request)
- func GroupCreate(w http.ResponseWriter, r *http.Request)
- func GroupList(w http.ResponseWriter, r *http.Request)
- func InvitationEmailAccept(w http.ResponseWriter, r *http.Request)
- func InvitationEmailCreate(w http.ResponseWriter, r *http.Request)
- func Issuer(r *http.Request) *issuer.Issuer
- func Log(r *http.Request) *logan.Entry
- func NotFound(msg, field string) *jsonapi.ErrorObject
- func Notificator(r *http.Request) notificator.Notificator
- func OrgByID(w http.ResponseWriter, r *http.Request)
- func OrgCreate(w http.ResponseWriter, r *http.Request)
- func OrgList(w http.ResponseWriter, r *http.Request)
- func OrgPatch(w http.ResponseWriter, r *http.Request)
- func OrgUserList(w http.ResponseWriter, r *http.Request)
- func OrgVerificationCode(w http.ResponseWriter, r *http.Request)
- func OrgVerify(w http.ResponseWriter, r *http.Request)
- func OrgsConfig(r *http.Request) config.OrgsConfig
- func RequestByID(w http.ResponseWriter, r *http.Request)
- func RequestClaimsStatuses(w http.ResponseWriter, r *http.Request)
- func RequestFill(w http.ResponseWriter, r *http.Request)
- func RequestList(w http.ResponseWriter, r *http.Request)
- func RequestVerify(w http.ResponseWriter, r *http.Request)
- func S3(r *http.Request) *s3.Storage
- func SetStatusClaimed(w http.ResponseWriter, r *http.Request)
- func Storage(r *http.Request) data.Storage
- func UploadForm(w http.ResponseWriter, r *http.Request)
- func UserClaim(r *http.Request) []resources.Claim
- func UserRequestsList(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDID = validation.NewError("validation_is_did", "must be a valid DID") ValidationDID = validation.NewStringRuleWithError(isDID, ErrDID) )
Functions ¶
func AuthMiddleware ¶
func CtxNotificator ¶
func CtxNotificator(notificator notificator.Notificator) func(context.Context) context.Context
func CtxOrgsConfig ¶
func CtxUserClaim ¶ added in v0.6.0
func GetOffsetLinks ¶ added in v0.7.0
func GroupCreate ¶
func GroupCreate(w http.ResponseWriter, r *http.Request)
func InvitationEmailAccept ¶
func InvitationEmailAccept(w http.ResponseWriter, r *http.Request)
func InvitationEmailCreate ¶
func InvitationEmailCreate(w http.ResponseWriter, r *http.Request)
func Notificator ¶
func Notificator(r *http.Request) notificator.Notificator
func OrgUserList ¶
func OrgUserList(w http.ResponseWriter, r *http.Request)
func OrgVerificationCode ¶
func OrgVerificationCode(w http.ResponseWriter, r *http.Request)
func OrgsConfig ¶
func OrgsConfig(r *http.Request) config.OrgsConfig
func RequestByID ¶
func RequestByID(w http.ResponseWriter, r *http.Request)
func RequestClaimsStatuses ¶ added in v0.3.0
func RequestClaimsStatuses(w http.ResponseWriter, r *http.Request)
func RequestFill ¶
func RequestFill(w http.ResponseWriter, r *http.Request)
func RequestList ¶
func RequestList(w http.ResponseWriter, r *http.Request)
func RequestVerify ¶
func RequestVerify(w http.ResponseWriter, r *http.Request)
func SetStatusClaimed ¶ added in v0.7.7
func SetStatusClaimed(w http.ResponseWriter, r *http.Request)
func UploadForm ¶ added in v0.6.0
func UploadForm(w http.ResponseWriter, r *http.Request)
func UserRequestsList ¶ added in v0.7.7
func UserRequestsList(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Source Files ¶
- ctx.go
- errors.go
- group.go
- group_create.go
- group_list.go
- id.go
- invitation_email_accept.go
- invitation_email_create.go
- middleware.go
- org.go
- org_create.go
- org_list.go
- org_patch.go
- org_user_list.go
- org_verification_code.go
- org_verify.go
- page.go
- req.go
- req_claims.go
- req_fill.go
- req_list.go
- req_list_user.go
- req_status_update.go
- req_verify.go
- upload_form.go
- validation.go
Click to show internal directories.
Click to hide internal directories.