package mwitkow_testproto
import "github.com/grpc-ecosystem/go-grpc-middleware/testing/gogotestproto"
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 ¶
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) String() string
- type Ping
- func (*Ping) Descriptor() ([]byte, []int)
- func (m *Ping) GetId() *PingId
- func (*Ping) ProtoMessage()
- func (m *Ping) Reset()
- func (m *Ping) String() string
- type PingId
- func (*PingId) Descriptor() ([]byte, []int)
- func (*PingId) ProtoMessage()
- func (m *PingId) Reset()
- func (m *PingId) String() string
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (m *PingRequest) GetMeta() *Metadata
- func (m *PingRequest) GetPing() *Ping
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) String() string
- type Pong
- func (*Pong) Descriptor() ([]byte, []int)
- func (*Pong) ProtoMessage()
- func (m *Pong) Reset()
- func (m *Pong) String() string
- type PongRequest
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()
func (*Metadata) Reset ¶
func (m *Metadata) Reset()
func (*Metadata) String ¶
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) GetId ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) Reset ¶
func (m *Ping) Reset()
func (*Ping) String ¶
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()
func (*PingId) Reset ¶
func (m *PingId) Reset()
func (*PingId) String ¶
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()
func (*Pong) Reset ¶
func (m *Pong) Reset()
func (*Pong) String ¶
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
Source Files ¶
- Version
- v1.1.0
- Published
- Sep 12, 2019
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 33 minutes ago –
Tools for package owners.