common

package
v0.0.0-...-bcffac6 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package common is a generated protocol buffer package.

It is generated from these files:

common/lines.proto

It has these top-level messages:

LogLines

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMessage

func SendMessage(c io.Writer, ln *LogLines) (err error)

Types

type LogLines

type LogLines struct {
	FileName         *string  `protobuf:"bytes,1,req" json:"FileName,omitempty"`
	Offset           *int64   `protobuf:"varint,2,req" json:"Offset,omitempty"`
	Inode            *uint64  `protobuf:"varint,3,req" json:"Inode,omitempty"`
	Lines            []string `protobuf:"bytes,4,rep" json:"Lines,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func ReceiveMessage

func ReceiveMessage(c io.Reader) (ln *LogLines, err error)

func (*LogLines) GetFileName

func (m *LogLines) GetFileName() string

func (*LogLines) GetInode

func (m *LogLines) GetInode() uint64

func (*LogLines) GetLines

func (m *LogLines) GetLines() []string

func (*LogLines) GetOffset

func (m *LogLines) GetOffset() int64

func (*LogLines) ProtoMessage

func (*LogLines) ProtoMessage()

func (*LogLines) Reset

func (m *LogLines) Reset()

func (*LogLines) String

func (m *LogLines) String() string

Jump to

Keyboard shortcuts

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