echo

package
v0.0.0-...-f702d8d Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

This file was auto-generated by the vanadium vdl tool. Package: echo

Index

Constants

This section is empty.

Variables

View Source
var EchoServiceDesc rpc.InterfaceDesc = descEchoService

EchoServiceDesc describes the EchoService interface.

Functions

This section is empty.

Types

type EchoServiceClientMethods

type EchoServiceClientMethods interface {
	Echo(_ *context.T, msg string, _ ...rpc.CallOpt) (string, error)
	Ping(_ *context.T, msg string, servers []string, _ ...rpc.CallOpt) (string, error)
	Pong(_ *context.T, msg string, servers []string, _ ...rpc.CallOpt) (string, error)
}

EchoServiceClientMethods is the client interface containing EchoService methods.

type EchoServiceClientStub

type EchoServiceClientStub interface {
	EchoServiceClientMethods
}

EchoServiceClientStub embeds EchoServiceClientMethods and is a placeholder for additional management operations.

func EchoServiceClient

func EchoServiceClient(name string) EchoServiceClientStub

EchoServiceClient returns a client stub for EchoService.

type EchoServiceServerMethods

type EchoServiceServerMethods interface {
	Echo(_ *context.T, _ rpc.ServerCall, msg string) (string, error)
	Ping(_ *context.T, _ rpc.ServerCall, msg string, servers []string) (string, error)
	Pong(_ *context.T, _ rpc.ServerCall, msg string, servers []string) (string, error)
}

EchoServiceServerMethods is the interface a server writer implements for EchoService.

type EchoServiceServerStub

type EchoServiceServerStub interface {
	EchoServiceServerStubMethods
	// DescribeInterfaces the EchoService interfaces.
	Describe__() []rpc.InterfaceDesc
}

EchoServiceServerStub adds universal methods to EchoServiceServerStubMethods.

func EchoServiceServer

func EchoServiceServer(impl EchoServiceServerMethods) EchoServiceServerStub

EchoServiceServer returns a server stub for EchoService. It converts an implementation of EchoServiceServerMethods into an object that may be used by rpc.Server.

type EchoServiceServerStubMethods

type EchoServiceServerStubMethods EchoServiceServerMethods

EchoServiceServerStubMethods is the server interface containing EchoService methods, as expected by rpc.Server. There is no difference between this interface and EchoServiceServerMethods since there are no streaming methods.

Directories

Path Synopsis
Command echo is a client for the Echo service.
Command echo is a client for the Echo service.
Command echo is a server for the Echo service.
Command echo is a server for the Echo service.

Jump to

Keyboard shortcuts

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