Documentation
¶
Overview ¶
Package server contains the full set of handler functions and routes supported by the http api
Index ¶
- Constants
- func CredentialAPI(rg *gin.RouterGroup, service svcframework.Service, ...) (err error)
- func DecentralizedIdentityAPI(rg *gin.RouterGroup, service *didsvc.Service, webhookService *webhook.Service) (err error)
- func IssuanceAPI(rg *gin.RouterGroup, service svcframework.Service) error
- func KeyStoreAPI(rg *gin.RouterGroup, service svcframework.Service) (err error)
- func ManifestAPI(rg *gin.RouterGroup, service svcframework.Service, ...) (err error)
- func OperationAPI(rg *gin.RouterGroup, service svcframework.Service) (err error)
- func PresentationAPI(rg *gin.RouterGroup, service svcframework.Service, ...) (err error)
- func SchemaAPI(rg *gin.RouterGroup, service svcframework.Service, ...) (err error)
- func WebhookAPI(rg *gin.RouterGroup, service svcframework.Service) (err error)
- type SSIServer
Constants ¶
const ( HealthPrefix = "/health" ReadinessPrefix = "/readiness" SwaggerPrefix = "/swagger/*any" V1Prefix = "/v1" OperationPrefix = "/operations" DIDsPrefix = "/dids" ResolverPrefix = "/resolver" SchemasPrefix = "/schemas" CredentialsPrefix = "/credentials" StatusPrefix = "/status" PresentationsPrefix = "/presentations" DefinitionsPrefix = "/definitions" SubmissionsPrefix = "/submissions" IssuanceTemplatePrefix = "/issuancetemplates" RequestsPrefix = "/requests" ManifestsPrefix = "/manifests" ApplicationsPrefix = "/applications" ResponsesPrefix = "/responses" KeyStorePrefix = "/keys" VerificationPath = "/verification" WebhookPrefix = "/webhooks" )
Variables ¶
This section is empty.
Functions ¶
func CredentialAPI ¶
func CredentialAPI(rg *gin.RouterGroup, service svcframework.Service, webhookService *webhook.Service) (err error)
CredentialAPI registers all HTTP handlers for the Credentials Service
func DecentralizedIdentityAPI ¶
func DecentralizedIdentityAPI(rg *gin.RouterGroup, service *didsvc.Service, webhookService *webhook.Service) (err error)
DecentralizedIdentityAPI registers all HTTP handlers for the DID Service
func IssuanceAPI ¶
func IssuanceAPI(rg *gin.RouterGroup, service svcframework.Service) error
IssuanceAPI registers all HTTP handlers for the Issuance Service
func KeyStoreAPI ¶
func KeyStoreAPI(rg *gin.RouterGroup, service svcframework.Service) (err error)
KeyStoreAPI registers all HTTP handlers for the Key Store Service
func ManifestAPI ¶
func ManifestAPI(rg *gin.RouterGroup, service svcframework.Service, webhookService *webhook.Service) (err error)
ManifestAPI registers all HTTP handlers for the Manifest Service
func OperationAPI ¶
func OperationAPI(rg *gin.RouterGroup, service svcframework.Service) (err error)
OperationAPI registers all HTTP handlers for the Operations Service
func PresentationAPI ¶
func PresentationAPI(rg *gin.RouterGroup, service svcframework.Service, webhookService *webhook.Service) (err error)
PresentationAPI registers all HTTP handlers for the Presentation Service
func SchemaAPI ¶
func SchemaAPI(rg *gin.RouterGroup, service svcframework.Service, webhookService *webhook.Service) (err error)
SchemaAPI registers all HTTP handlers for the Schema Service
func WebhookAPI ¶
func WebhookAPI(rg *gin.RouterGroup, service svcframework.Service) (err error)
WebhookAPI registers all HTTP handlers for the Webhook Service
Types ¶
type SSIServer ¶
type SSIServer struct { *config.ServerConfig *service.SSIService *framework.Server }
SSIServer exposes all dependencies needed to run a http server and all its services
func NewSSIServer ¶
NewSSIServer does two things: instantiates all service and registers their HTTP bindings
Directories
¶
Path | Synopsis |
---|---|
Package framework is a minimal web framework.
|
Package framework is a minimal web framework. |