grpc

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package grpc implements a grpc payment API server.

Index

Constants

This section is empty.

Variables

ToGrpcChUpdateType is a helper var that maps enums from ChUpdateType type defined in perun-node to ChUpdateType type defined in grpc package.

Functions

func ListenAndServePayChAPI added in v0.4.0

func ListenAndServePayChAPI(n perun.NodeAPI, grpcPort string) error

ListenAndServePayChAPI starts a payment channel API server that listens for incoming grpc requests at the specified address and serves those requests using the node API instance.

Types

This section is empty.

Directories

Path Synopsis
Package pb contains proto3 definitions for user API and the corresponding generated code for grpc server and client.
Package pb contains proto3 definitions for user API and the corresponding generated code for grpc server and client.

Jump to

Keyboard shortcuts

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