middleware

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithElrondFacade

func WithElrondFacade(elrondFacade ElrondHandler) gin.HandlerFunc

WithElrondFacade middleware will set up an ElrondFacade object in the gin context

Types

type ElrondHandler

type ElrondHandler interface {
}

ElrondHandler interface defines methods that can be used from `elrondFacade` context variable

Jump to

Keyboard shortcuts

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