stub

package
v0.0.0-...-a3ecfbc Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const HelloServiceName = "handler/HelloService"

namespace

Variables

This section is empty.

Functions

func RegisterHelloService

func RegisterHelloService(srv IHelloService) error

Types

type HelloServiceClientStub

type HelloServiceClientStub struct {
	*rpc.Client
}

func NewHelloServiceClient

func NewHelloServiceClient(protocol, addr string) (*HelloServiceClientStub, error)

func (*HelloServiceClientStub) Hello

func (this *HelloServiceClientStub) Hello(req string, resp *string) error

type IHelloService

type IHelloService interface {
	Hello(req string, resp *string) error
}

type NewHelloService

type NewHelloService struct{}

func (*NewHelloService) Hello

func (s *NewHelloService) Hello(req string, resp *string) error

Jump to

Keyboard shortcuts

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