rpc

package
v0.93.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address              string `yaml:"Address"`
	Enabled              bool   `yaml:"Enabled"`
	EnableCORSWorkaround bool   `yaml:"EnableCORSWorkaround"`
	// MaxGasInvoke is a maximum amount of gas which
	// can be spent during RPC call.
	MaxGasInvoke fixedn.Fixed8 `yaml:"MaxGasInvoke"`
	Port         uint16        `yaml:"Port"`
	TLSConfig    TLSConfig     `yaml:"TLSConfig"`
}

Config is an RPC service configuration information

type TLSConfig

type TLSConfig struct {
	Address  string `yaml:"Address"`
	CertFile string `yaml:"CertFile"`
	Enabled  bool   `yaml:"Enabled"`
	Port     uint16 `yaml:"Port"`
	KeyFile  string `yaml:"KeyFile"`
}

TLSConfig describes SSL/TLS configuration.

Directories

Path Synopsis
Package client implements NEO-specific JSON-RPC 2.0 client.
Package client implements NEO-specific JSON-RPC 2.0 client.

Jump to

Keyboard shortcuts

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