Versions in this module Expand all Collapse all v1 v1.1.4 Jul 13, 2021 v1.1.4-alpha1 Jul 13, 2021 v1.1.3 Jul 12, 2021 v1.1.2 Jul 6, 2021 v1.1.1 Jul 4, 2021 v1.1.0 Jul 4, 2021 Changes in this version type ArithServiceClient + func DialArithServiceHTTP(network, address string) (*ArithServiceClient, error) + func DialArithServiceHTTPPath(network, address, path string) (*ArithServiceClient, error) + func DialArithServiceHTTPS(network, address string, tlsConfig *tls.Config) (*ArithServiceClient, error) + func DialArithServiceHTTPSPath(network, address, path string, tlsConfig *tls.Config) (*ArithServiceClient, error) type EchoServiceClient + func DialEchoServiceHTTP(network, address string) (*EchoServiceClient, error) + func DialEchoServiceHTTPPath(network, address, path string) (*EchoServiceClient, error) + func DialEchoServiceHTTPS(network, address string, tlsConfig *tls.Config) (*EchoServiceClient, error) + func DialEchoServiceHTTPSPath(network, address, path string, tlsConfig *tls.Config) (*EchoServiceClient, error) v1.0.0 Feb 22, 2018 Changes in this version + func AcceptArithServiceClient(lis net.Listener, x ArithService) + func AcceptEchoServiceClient(lis net.Listener, x EchoService) + func ListenAndServeArithService(network, addr string, x ArithService) error + func ListenAndServeEchoService(network, addr string, x EchoService) error + func NewArithServiceServer(x ArithService) *rpc.Server + func NewEchoServiceServer(x EchoService) *rpc.Server + func RegisterArithService(srv *rpc.Server, x ArithService) error + func RegisterEchoService(srv *rpc.Server, x EchoService) error + func ServeArithService(conn io.ReadWriteCloser, x ArithService) + func ServeEchoService(conn io.ReadWriteCloser, x EchoService) + type ArithRequest struct + A int32 + B int32 + func (*ArithRequest) Descriptor() ([]byte, []int) + func (*ArithRequest) ProtoMessage() + func (m *ArithRequest) GetA() int32 + func (m *ArithRequest) GetB() int32 + func (m *ArithRequest) Reset() + func (m *ArithRequest) String() string + type ArithResponse struct + C int32 + func (*ArithResponse) Descriptor() ([]byte, []int) + func (*ArithResponse) ProtoMessage() + func (m *ArithResponse) GetC() int32 + func (m *ArithResponse) Reset() + func (m *ArithResponse) String() string + type ArithService interface + Add func(in *ArithRequest, out *ArithResponse) error + Div func(in *ArithRequest, out *ArithResponse) error + Error func(in *ArithRequest, out *ArithResponse) error + Mul func(in *ArithRequest, out *ArithResponse) error + type ArithServiceClient struct + func DialArithService(network, addr string) (*ArithServiceClient, error) + func DialArithServiceTimeout(network, addr string, timeout time.Duration) (*ArithServiceClient, error) + func NewArithServiceClient(conn io.ReadWriteCloser) *ArithServiceClient + func (c *ArithServiceClient) Add(in *ArithRequest) (out *ArithResponse, err error) + func (c *ArithServiceClient) AsyncAdd(in *ArithRequest, out *ArithResponse, done chan *rpc.Call) *rpc.Call + func (c *ArithServiceClient) AsyncDiv(in *ArithRequest, out *ArithResponse, done chan *rpc.Call) *rpc.Call + func (c *ArithServiceClient) AsyncError(in *ArithRequest, out *ArithResponse, done chan *rpc.Call) *rpc.Call + func (c *ArithServiceClient) AsyncMul(in *ArithRequest, out *ArithResponse, done chan *rpc.Call) *rpc.Call + func (c *ArithServiceClient) Div(in *ArithRequest) (out *ArithResponse, err error) + func (c *ArithServiceClient) Error(in *ArithRequest) (out *ArithResponse, err error) + func (c *ArithServiceClient) Mul(in *ArithRequest) (out *ArithResponse, err error) + type EchoRequest struct + Msg string + func (*EchoRequest) Descriptor() ([]byte, []int) + func (*EchoRequest) ProtoMessage() + func (m *EchoRequest) GetMsg() string + func (m *EchoRequest) Reset() + func (m *EchoRequest) String() string + type EchoResponse struct + Msg string + func (*EchoResponse) Descriptor() ([]byte, []int) + func (*EchoResponse) ProtoMessage() + func (m *EchoResponse) GetMsg() string + func (m *EchoResponse) Reset() + func (m *EchoResponse) String() string + type EchoService interface + Echo func(in *EchoRequest, out *EchoResponse) error + EchoTwice func(in *EchoRequest, out *EchoResponse) error + type EchoServiceClient struct + func DialEchoService(network, addr string) (*EchoServiceClient, error) + func DialEchoServiceTimeout(network, addr string, timeout time.Duration) (*EchoServiceClient, error) + func NewEchoServiceClient(conn io.ReadWriteCloser) *EchoServiceClient + func (c *EchoServiceClient) AsyncEcho(in *EchoRequest, out *EchoResponse, done chan *rpc.Call) *rpc.Call + func (c *EchoServiceClient) AsyncEchoTwice(in *EchoRequest, out *EchoResponse, done chan *rpc.Call) *rpc.Call + func (c *EchoServiceClient) Echo(in *EchoRequest) (out *EchoResponse, err error) + func (c *EchoServiceClient) EchoTwice(in *EchoRequest) (out *EchoResponse, err error)