package
3.12.12+incompatible
Repository: https://github.com/threefoldtech/zos.git
Documentation: pkg.go.dev
# Functions
Accepted response.
AsHandlerFunc is a helper wrapper to make implementing actions easier.
BadRequest result.
Conflict response.
Created return a created response.
Error generic error response.
Forbidden response.
NewAuthMiddleware creates a new AuthMiddleware using jwt signed by the caller.
NewUserMap create a new UserMap that uses the users collection to find the key.
NoContent response.
NotFound response.
Ok return a ok response.
PaymentRequired result.
TwinID extracts twin id from request.
TwinPublicKey extracts twin public key from request.
UnAuthorized response.
Unavailable returned when server is too busy.
# Interfaces
Response interface.