Documentation ¶
Index ¶
- Constants
- func CreateIdentity(w http.ResponseWriter, r *http.Request)
- func CtxEthClient(client *ethclient.Client) func(context.Context) context.Context
- func CtxIssuer(iss *issuer.Issuer) func(context.Context) context.Context
- func CtxLog(entry *logan.Entry) func(context.Context) context.Context
- func CtxMasterQ(entry data.MasterQ) func(context.Context) context.Context
- func CtxStateContract(entry *stateabi.State) func(context.Context) context.Context
- func CtxVaultClient(vaultClient *vault.VaultClient) func(context.Context) context.Context
- func CtxVerifierConfig(entry *config.VerifierConfig) func(context.Context) context.Context
- func EthClient(r *http.Request) *ethclient.Client
- func GetGistData(w http.ResponseWriter, r *http.Request)
- func Issuer(r *http.Request) *issuer.Issuer
- func Log(r *http.Request) *logan.Entry
- func MasterQ(r *http.Request) data.MasterQ
- func StateContract(r *http.Request) *stateabi.State
- func VaultClient(r *http.Request) *vault.VaultClient
- func VerifierConfig(r *http.Request) *config.VerifierConfig
Constants ¶
View Source
const ( SHA1 = "sha1" SHA256 = "sha256" SHA256withRSA = "SHA256withRSA" SHA1withECDSA = "SHA1withECDSA" SHA256withECDSA = "SHA256withECDSA" )
Variables ¶
This section is empty.
Functions ¶
func CreateIdentity ¶
func CreateIdentity(w http.ResponseWriter, r *http.Request)
func CtxEthClient ¶ added in v0.9.4
func CtxMasterQ ¶ added in v0.3.4
func CtxStateContract ¶ added in v0.5.0
func CtxVaultClient ¶ added in v0.8.0
func CtxVerifierConfig ¶
func GetGistData ¶ added in v0.5.0
func GetGistData(w http.ResponseWriter, r *http.Request)
func VaultClient ¶ added in v0.8.0
func VaultClient(r *http.Request) *vault.VaultClient
func VerifierConfig ¶
func VerifierConfig(r *http.Request) *config.VerifierConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.