package
0.0.0-20220916203922-7b7c10a5d0ef
Repository: https://github.com/trustbloc/ace.git
Documentation: pkg.go.dev

# Functions

NewHTTPHandler returns instance of HTTPHandler which can be used to handle http requests.
WithAuth option enable auth for http handler.

# Constants

AuthHTTPSig http sig auth.
AuthNone no auth.
AuthToken static token.

# Structs

HTTPHandler contains REST API handling details which can be used to build routers for http requests for given path.

# Interfaces

Handler http handler for each controller API endpoint.

# Type aliases

Auth handler auth type.
HTTPHandlerOpts are the http handler additional options.