rpc

package
v2.19.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Say

func Say(r *http.Request, args *HelloArgs, reply *HelloReply) error

Types

type HelloArgs

type HelloArgs struct {
	Account     string `json:"account"`
	Strict      string `json:strict`
	LedgerIndex string `json:ledger_index`
}

type HelloReply

type HelloReply struct {
	Message string
}

type HelloService

type HelloService struct{}

type RpcService

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

func (*RpcService) RegisterCommand

func (self *RpcService) RegisterCommand(name string, receiver interface{})

func (*RpcService) StartService

func (self *RpcService) StartService()

Jump to

Keyboard shortcuts

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