rpcserver

package
v0.0.0-...-a838072 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Unlicense Imports: 25 Imported by: 0

Documentation

Overview

Package rpcserver implements the RPC API and is used by the main package to start gRPC services.

Full documentation of the API implemented by this package is maintained in a language-agnostic document:

https://git.parallelcoin.io/dev/pod/walletmain/blob/master/rpc/documentation/api.md

Any API changes must be performed according to the steps listed here:

https://git.parallelcoin.io/dev/pod/walletmain/blob/master/rpc/documentation/serverchanges.md

Index

Constants

This section is empty.

Variables

View Source
var Log = cl.NewSubSystem(pkgs.Name(_d), "info")

Functions

func StartVersionService

func StartVersionService(server *grpc.Server)

StartVersionService creates an implementation of the VersionService and registers it with the gRPC server.

func StartWalletLoaderService

func StartWalletLoaderService(server *grpc.Server, loader *wallet.Loader,
	activeNet *netparams.Params)

StartWalletLoaderService creates an implementation of the WalletLoaderService and registers it with the gRPC server.

func StartWalletService

func StartWalletService(server *grpc.Server, wallet *wallet.Wallet)

StartWalletService creates an implementation of the WalletService and registers it with the gRPC server.

func UseLogger

func UseLogger(logger *cl.SubSystem)

UseLogger uses a specified Logger to output package logging info. This should be used in preference to SetLogWriter if the caller is also using log.

Types

This section is empty.

Jump to

Keyboard shortcuts

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