neo-go: github.com/CityOfZion/neo-go/pkg/rpc Index | Files | Directories

package rpc

import "github.com/CityOfZion/neo-go/pkg/rpc"

Index

Package Files

rpc_config.go

type Config Uses

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 util.Fixed8 `yaml:"MaxGasInvoke"`
    Port         uint16      `yaml:"Port"`
    TLSConfig    TLSConfig   `yaml:"TLSConfig"`
}

Config is an RPC service configuration information

type TLSConfig Uses

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

PathSynopsis
clientPackage client implements NEO-specific JSON-RPC 2.0 client.
request
response
response/result
server

Package rpc imports 1 packages (graph) and is imported by 3 packages. Updated 2020-07-03. Refresh now. Tools for package owners.