cli

package
v0.0.0-...-9449e14 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCServer

type RPCServer struct {
	proto.UnimplementedCoreServer
	// contains filtered or unexported fields
}

func NewRPCServer

func NewRPCServer(node *node.Node) *RPCServer

func (*RPCServer) Echo

func (s *RPCServer) Echo(ctx context.Context, input *anypb.Any) (*emptypb.Empty, error)

func (*RPCServer) Publish

func (s *RPCServer) Publish(ctx context.Context, input *anypb.Any) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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