handlers

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CtxEthClient

func CtxEthClient(client *ethclient.Client) func(context.Context) context.Context

func CtxLog

func CtxLog(entry *logan.Entry) func(context.Context) context.Context

func CtxNetworkConfig

func CtxNetworkConfig(cfg *config.NetworkConfig) func(context.Context) context.Context

func CtxVoteVerifierRegisterMethod

func CtxVoteVerifierRegisterMethod(method *abi.Method) func(context.Context) context.Context

func CtxVotingRegistry

func CtxVotingRegistry(registry *contracts.VotingRegistry) func(context.Context) context.Context

func EthClient

func EthClient(r *http.Request) *ethclient.Client

func Log

func Log(r *http.Request) *logan.Entry

func NetworkConfig

func NetworkConfig(r *http.Request) *config.NetworkConfig

func VerifyProof

func VerifyProof(w http.ResponseWriter, r *http.Request)

func VoteVerifierRegisterMethod

func VoteVerifierRegisterMethod(r *http.Request) *abi.Method

func VotingRegistry

func VotingRegistry(r *http.Request) *contracts.VotingRegistry

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL