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