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
Click to show internal directories.
Click to hide internal directories.