Documentation ¶
Overview ¶
Package diddochandler DID document API.
Terms Of Service:
Schemes: http, https Host: 127.0.0.1:8080 Version: 0.1.0 License: SPDX-License-Identifier: Apache-2.0 Consumes: - application/did+ld+json Produces: - application/did+ld+json
swagger:meta
Index ¶
Constants ¶
View Source
const (
// Path is the context path for the DID document REST service
Path = "/document"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolveHandler ¶
type ResolveHandler struct {
*dochandler.ResolveHandler
}
ResolveHandler resolves DID documents
func NewResolveHandler ¶
func NewResolveHandler(resolver dochandler.Resolver) *ResolveHandler
NewResolveHandler returns a new DID document resolve handler
func (*ResolveHandler) Handler ¶
func (o *ResolveHandler) Handler() common.HTTPRequestHandler
Handler returns the handler
func (*ResolveHandler) Method ¶
func (o *ResolveHandler) Method() string
Method returns the HTTP method
type UpdateHandler ¶
type UpdateHandler struct {
*dochandler.UpdateHandler
}
UpdateHandler handles the creation and update of DID documents
func NewUpdateHandler ¶
func NewUpdateHandler(processor dochandler.Processor) *UpdateHandler
NewUpdateHandler returns a new DID document update handler
func (*UpdateHandler) Handler ¶
func (h *UpdateHandler) Handler() common.HTTPRequestHandler
Handler returns the handler
func (*UpdateHandler) Method ¶
func (h *UpdateHandler) Method() string
Method returns the HTTP method
Click to show internal directories.
Click to hide internal directories.