handlers

package
v0.3.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 21 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 CtxLightweightState added in v0.3.0

func CtxLightweightState(registry *contracts.LightweightState) 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 CtxSignedTransitStateMethod added in v0.3.0

func CtxSignedTransitStateMethod(method *abi.Method) 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 CtxVotingVoteMethod added in v0.3.0

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

func EthClient

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

func LightweightState added in v0.3.0

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

func Log

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

func NetworkConfig

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

func Register added in v0.3.0

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

func SignedTransitStateMethod added in v0.3.0

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

func TransitState added in v0.3.0

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

func Vote added in v0.3.0

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

func VoteVerifierRegisterMethod

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

func VotingRegistry

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

func VotingVoteMethod added in v0.3.0

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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