proxy

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthError added in v0.13.8

func GetAuthError(user *models.User, err error) error

func Handle added in v0.13.3

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

Handle forwards client JSON-RPC request to proxy.

func HandleCORS added in v0.13.3

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

HandleCORS returns necessary CORS headers for pre-flight requests to proxy API

Types

This section is empty.

Jump to

Keyboard shortcuts

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