testagent

package
v0.11.0-alpha.28 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHelloAgentServer

func RegisterHelloAgentServer(s *grpc.Server, srv HelloAgentServer)

func RegisterHollaAgentServer

func RegisterHollaAgentServer(s *grpc.Server, srv HollaAgentServer)

Types

type Hello

type Hello struct {
	Name                 string   `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Hello) Descriptor

func (*Hello) Descriptor() ([]byte, []int)

func (*Hello) GetName

func (m *Hello) GetName() string

func (*Hello) ProtoMessage

func (*Hello) ProtoMessage()

func (*Hello) Reset

func (m *Hello) Reset()

func (*Hello) String

func (m *Hello) String() string

func (*Hello) XXX_DiscardUnknown

func (m *Hello) XXX_DiscardUnknown()

func (*Hello) XXX_Marshal

func (m *Hello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Hello) XXX_Merge

func (m *Hello) XXX_Merge(src proto.Message)

func (*Hello) XXX_Size

func (m *Hello) XXX_Size() int

func (*Hello) XXX_Unmarshal

func (m *Hello) XXX_Unmarshal(b []byte) error

type HelloAgentClient

type HelloAgentClient interface {
	PingHello(ctx context.Context, in *Hello, opts ...grpc.CallOption) (*Hello, error)
}

HelloAgentClient is the client API for HelloAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHelloAgentClient

func NewHelloAgentClient(cc *grpc.ClientConn) HelloAgentClient

type HelloAgentServer

type HelloAgentServer interface {
	PingHello(context.Context, *Hello) (*Hello, error)
}

HelloAgentServer is the server API for HelloAgent service.

type Holla

type Holla struct {
	Name                 string   `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Holla) Descriptor

func (*Holla) Descriptor() ([]byte, []int)

func (*Holla) GetName

func (m *Holla) GetName() string

func (*Holla) ProtoMessage

func (*Holla) ProtoMessage()

func (*Holla) Reset

func (m *Holla) Reset()

func (*Holla) String

func (m *Holla) String() string

func (*Holla) XXX_DiscardUnknown

func (m *Holla) XXX_DiscardUnknown()

func (*Holla) XXX_Marshal

func (m *Holla) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Holla) XXX_Merge

func (m *Holla) XXX_Merge(src proto.Message)

func (*Holla) XXX_Size

func (m *Holla) XXX_Size() int

func (*Holla) XXX_Unmarshal

func (m *Holla) XXX_Unmarshal(b []byte) error

type HollaAgentClient

type HollaAgentClient interface {
	PingHolla(ctx context.Context, in *Holla, opts ...grpc.CallOption) (*Holla, error)
}

HollaAgentClient is the client API for HollaAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHollaAgentClient

func NewHollaAgentClient(cc *grpc.ClientConn) HollaAgentClient

type HollaAgentServer

type HollaAgentServer interface {
	PingHolla(context.Context, *Holla) (*Holla, error)
}

HollaAgentServer is the server API for HollaAgent service.

type UnimplementedHelloAgentServer

type UnimplementedHelloAgentServer struct {
}

UnimplementedHelloAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedHelloAgentServer) PingHello

func (*UnimplementedHelloAgentServer) PingHello(ctx context.Context, req *Hello) (*Hello, error)

type UnimplementedHollaAgentServer

type UnimplementedHollaAgentServer struct {
}

UnimplementedHollaAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedHollaAgentServer) PingHolla

func (*UnimplementedHollaAgentServer) PingHolla(ctx context.Context, req *Holla) (*Holla, error)

Jump to

Keyboard shortcuts

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