Documentation ¶
Overview ¶
Package fixtures is a generated protocol buffer package.
It is generated from these files:
dfss/net/fixtures/test.proto
It has these top-level messages:
Hop IsAuth Empty
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTestServer ¶
func RegisterTestServer(s *grpc.Server, srv TestServer)
Types ¶
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type Hop ¶
type Hop struct {
Id int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}
func (*Hop) Descriptor ¶
func (*Hop) ProtoMessage ¶
func (*Hop) ProtoMessage()
type IsAuth ¶
type IsAuth struct {
Auth bool `protobuf:"varint,1,opt,name=auth" json:"auth,omitempty"`
}
func (*IsAuth) Descriptor ¶
func (*IsAuth) ProtoMessage ¶
func (*IsAuth) ProtoMessage()
type TestClient ¶
type TestClient interface { Ping(ctx context.Context, in *Hop, opts ...grpc.CallOption) (*Hop, error) Auth(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*IsAuth, error) }
func NewTestClient ¶
func NewTestClient(cc *grpc.ClientConn) TestClient
Click to show internal directories.
Click to hide internal directories.