grpc

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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