metaresolver

package
v0.0.0-...-5a544cf Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package metaservice manages metaservice functions for RPC request

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(path string) bool

Contains check if given path is in predefined or not

func Forward

func Forward(req json.RPCRequest) (resp json.RPCResponse, err error)

Forward delivers RPCRequest to predefined function and returns that

Types

type Error

type Error interface {
	Error() string    // returns the message
	ErrorCode() int32 // returns the code
}

Error is general error interface in Proxy

Directories

Path Synopsis
sc

Jump to

Keyboard shortcuts

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