Documentation ¶
Overview ¶
Package mwitkow_testproto is a generated protocol buffer package.
This file is used for testing discovery of log fields from requests using reflection and gogo proto more tags.
It is generated from these files:
fields.proto
It has these top-level messages:
Metadata PingId Ping PingRequest Pong PongRequest
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct {
Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty" log_field:"meta_tags"`
}
func (*Metadata) Descriptor ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
type Ping ¶
type Ping struct { Id *PingId `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*Ping) Descriptor ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
type PingId ¶
type PingId struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" log_field:"ping_id"`
}
func (*PingId) Descriptor ¶
func (*PingId) ProtoMessage ¶
func (*PingId) ProtoMessage()
type PingRequest ¶
type PingRequest struct { Ping *Ping `protobuf:"bytes,1,opt,name=ping" json:"ping,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta" json:"meta,omitempty"` }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) GetMeta ¶
func (m *PingRequest) GetMeta() *Metadata
func (*PingRequest) GetPing ¶
func (m *PingRequest) GetPing() *Ping
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
type Pong ¶
type Pong struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" log_field:"pong_id"`
}
func (*Pong) Descriptor ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
type PongRequest ¶
type PongRequest struct { Pong *Pong `protobuf:"bytes,1,opt,name=pong" json:"pong,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta" json:"meta,omitempty"` }
func (*PongRequest) Descriptor ¶
func (*PongRequest) Descriptor() ([]byte, []int)
func (*PongRequest) GetMeta ¶
func (m *PongRequest) GetMeta() *Metadata
func (*PongRequest) GetPong ¶
func (m *PongRequest) GetPong() *Pong
func (*PongRequest) ProtoMessage ¶
func (*PongRequest) ProtoMessage()
func (*PongRequest) Reset ¶
func (m *PongRequest) Reset()
func (*PongRequest) String ¶
func (m *PongRequest) String() string
Click to show internal directories.
Click to hide internal directories.