mwitkow_testproto

package
v0.0.0-...-606e44d Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) String

func (m *Metadata) String() 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) Descriptor() ([]byte, []int)

func (*Ping) GetId

func (m *Ping) GetId() *PingId

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) Reset

func (m *Ping) Reset()

func (*Ping) String

func (m *Ping) String() 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) Descriptor() ([]byte, []int)

func (*PingId) ProtoMessage

func (*PingId) ProtoMessage()

func (*PingId) Reset

func (m *PingId) Reset()

func (*PingId) String

func (m *PingId) String() 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) Descriptor() ([]byte, []int)

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) Reset

func (m *Pong) Reset()

func (*Pong) String

func (m *Pong) String() 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

Jump to

Keyboard shortcuts

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