Documentation
¶
Overview ¶
Package server contains the full set of handler functions and routes supported by the http api
Index ¶
- Constants
- type SSIServer
- func (s *SSIServer) CredentialAPI(service svcframework.Service) (err error)
- func (s *SSIServer) DecentralizedIdentityAPI(service svcframework.Service) (err error)
- func (s *SSIServer) IssuanceAPI(service svcframework.Service) error
- func (s *SSIServer) KeyStoreAPI(service svcframework.Service) (err error)
- func (s *SSIServer) ManifestAPI(service svcframework.Service) (err error)
- func (s *SSIServer) OperationAPI(service svcframework.Service) (err error)
- func (s *SSIServer) PresentationAPI(service svcframework.Service) (err error)
- func (s *SSIServer) SchemaAPI(service svcframework.Service) (err error)
Constants ¶
View Source
const ( HealthPrefix = "/health" ReadinessPrefix = "/readiness" V1Prefix = "/v1" OperationPrefix = "/operations" DIDsPrefix = "/dids" ResolverPrefix = "/resolver" SchemasPrefix = "/schemas" CredentialsPrefix = "/credentials" StatusPrefix = "/status" PresentationsPrefix = "/presentations" DefinitionsPrefix = "/definitions" SubmissionsPrefix = "/submissions" IssuanceTemplatePrefix = "/issuancetemplates" ManifestsPrefix = "/manifests" ApplicationsPrefix = "/applications" ResponsesPrefix = "/responses" KeyStorePrefix = "/keys" VerificationPath = "/verification" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSIServer ¶
type SSIServer struct { *framework.Server *config.ServerConfig *service.SSIService }
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
func (*SSIServer) CredentialAPI ¶
func (s *SSIServer) CredentialAPI(service svcframework.Service) (err error)
func (*SSIServer) DecentralizedIdentityAPI ¶
func (s *SSIServer) DecentralizedIdentityAPI(service svcframework.Service) (err error)
DecentralizedIdentityAPI registers all HTTP router for the DID Service
func (*SSIServer) IssuanceAPI ¶
func (s *SSIServer) IssuanceAPI(service svcframework.Service) error
func (*SSIServer) KeyStoreAPI ¶
func (s *SSIServer) KeyStoreAPI(service svcframework.Service) (err error)
func (*SSIServer) ManifestAPI ¶
func (s *SSIServer) ManifestAPI(service svcframework.Service) (err error)
func (*SSIServer) OperationAPI ¶
func (s *SSIServer) OperationAPI(service svcframework.Service) (err error)
func (*SSIServer) PresentationAPI ¶
func (s *SSIServer) PresentationAPI(service svcframework.Service) (err error)
Directories
¶
Path | Synopsis |
---|---|
Package framework is a minimal web framework.
|
Package framework is a minimal web framework. |
Click to show internal directories.
Click to hide internal directories.