Documentation ¶
Overview ¶
This file was auto-generated by the vanadium vdl tool. Package: echo
Index ¶
Constants ¶
This section is empty.
Variables ¶
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.