proxy

package
v0.0.0-...-4f583ac Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ResponseSuccess : Indicates whether a Response was successful
	ResponseSuccess = 0
	// ResponseError : Indicates whether a Response was unsuccessful
	ResponseError = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Currency

type Currency struct {
	// contains filtered or unexported fields
}

Currency : Handles logging and RPC details. Implements the ServicePlugin interface

func New

func New(cfg *config.Config) (*Currency, error)

New : Returns a pointer to a newly instantiated Currency struct

func (*Currency) GetParameters

func (k *Currency) GetParameters() map[string]string

GetParameters : Returns params from Currency struct

func (*Currency) Halt

func (k *Currency) Halt()

Halt : Stops the plugin

func (*Currency) OnRequest

func (k *Currency) OnRequest(id uint64, payload []byte, hasSURB bool) ([]byte, error)

OnRequest : Request Handler

Jump to

Keyboard shortcuts

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