src

package
v0.0.0-...-a299116 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PodNameKey = "POD_NAME"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GreetServiceImpl

type GreetServiceImpl struct{}

GreetServiceImpl implements the last service interface defined in the IDL.

func (*GreetServiceImpl) SayHello1

func (s *GreetServiceImpl) SayHello1(ctx context.Context, request *proxyless.HelloRequest) (resp *proxyless.HelloResponse, err error)

SayHello1 implements the GreetServiceImpl interface.

func (*GreetServiceImpl) SayHello2

func (s *GreetServiceImpl) SayHello2(ctx context.Context, request *proxyless.HelloRequest) (resp *proxyless.HelloResponse, err error)

SayHello2 implements the GreetServiceImpl interface.

type ProxylessClient

type ProxylessClient struct {
	// contains filtered or unexported fields
}

func (*ProxylessClient) Run

func (c *ProxylessClient) Run() error

type ProxylessServer

type ProxylessServer struct {
	// contains filtered or unexported fields
}

func (*ProxylessServer) Run

func (s *ProxylessServer) Run() error

type TestService

type TestService interface {
	Run() error
}

func NewProxylessClient

func NewProxylessClient(targetService string) TestService

func NewProxylessServer

func NewProxylessServer() TestService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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