Documentation ¶
Index ¶
- Constants
- func RegisterRoutes(ctx context.CoreContext, r *mux.Router, cdc *wire.Codec, kb keys.Keybase, ...)
- func SetCertsHandlerFn(ctx context.CoreContext, cdc *wire.Codec, kb keys.Keybase) func(http.ResponseWriter, *http.Request)
- func SetTrustHandlerFn(ctx context.CoreContext, cdc *wire.Codec, kb keys.Keybase) func(http.ResponseWriter, *http.Request)
Constants ¶
View Source
const ( RestIdentityID = "identityID" RestAccount = "address" )
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(ctx context.CoreContext, r *mux.Router, cdc *wire.Codec, kb keys.Keybase, storeName string)
resgister REST routes
func SetCertsHandlerFn ¶ added in v0.20.0
func SetCertsHandlerFn(ctx context.CoreContext, cdc *wire.Codec, kb keys.Keybase) func(http.ResponseWriter, *http.Request)
SetCertsHandlerFn
func SetTrustHandlerFn ¶ added in v0.20.0
func SetTrustHandlerFn(ctx context.CoreContext, cdc *wire.Codec, kb keys.Keybase) func(http.ResponseWriter, *http.Request)
SetTrustHandlerFn
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.