simple

package module
v0.0.0-...-764c5db Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var SimpleDesc rpc.InterfaceDesc = descSimple

SimpleDesc describes the Simple interface.

Functions

This section is empty.

Types

type SimpleClientMethods

type SimpleClientMethods interface {
	Ping(_ *context.T, msg string, _ ...rpc.CallOpt) (string, error)
}

SimpleClientMethods is the client interface containing Simple methods.

type SimpleClientStub

type SimpleClientStub interface {
	SimpleClientMethods
}

SimpleClientStub embeds SimpleClientMethods and is a placeholder for additional management operations.

func SimpleClient

func SimpleClient(name string) SimpleClientStub

SimpleClient returns a client stub for Simple.

type SimpleServerMethods

type SimpleServerMethods interface {
	Ping(_ *context.T, _ rpc.ServerCall, msg string) (string, error)
}

SimpleServerMethods is the interface a server writer implements for Simple.

type SimpleServerStub

type SimpleServerStub interface {
	SimpleServerStubMethods
	// DescribeInterfaces the Simple interfaces.
	Describe__() []rpc.InterfaceDesc
}

SimpleServerStub adds universal methods to SimpleServerStubMethods.

func SimpleServer

func SimpleServer(impl SimpleServerMethods) SimpleServerStub

SimpleServer returns a server stub for Simple. It converts an implementation of SimpleServerMethods into an object that may be used by rpc.Server.

type SimpleServerStubMethods

type SimpleServerStubMethods SimpleServerMethods

SimpleServerStubMethods is the server interface containing Simple methods, as expected by rpc.Server. There is no difference between this interface and SimpleServerMethods since there are no streaming methods.

Directories

Path Synopsis
Command simple is a client for the Simple service.
Command simple is a client for the Simple service.
Command simpled is a server for the Simple service.
Command simpled is a server for the Simple service.

Jump to

Keyboard shortcuts

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