proto

package
v0.0.0-...-70dd35d Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

report.proto

It has these top-level messages:

UpdateResult
Tags
Empty

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterReportServer

func RegisterReportServer(s *grpc.Server, srv ReportServer)

Types

type Empty

type Empty struct {
}

func (*Empty) Descriptor

func (*Empty) Descriptor() ([]byte, []int)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

type ReportClient

type ReportClient interface {
	GitUpdate(ctx context.Context, in *UpdateResult, opts ...grpc.CallOption) (*Empty, error)
}

func NewReportClient

func NewReportClient(cc *grpc.ClientConn) ReportClient

type ReportServer

type ReportServer interface {
	GitUpdate(context.Context, *UpdateResult) (*Empty, error)
}

type Tags

type Tags struct {
	Key   string `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value" json:"Value,omitempty"`
}

func (*Tags) Descriptor

func (*Tags) Descriptor() ([]byte, []int)

func (*Tags) GetKey

func (m *Tags) GetKey() string

func (*Tags) GetValue

func (m *Tags) GetValue() string

func (*Tags) ProtoMessage

func (*Tags) ProtoMessage()

func (*Tags) Reset

func (m *Tags) Reset()

func (*Tags) String

func (m *Tags) String() string

type UpdateResult

type UpdateResult struct {
	Githash string  `protobuf:"bytes,1,opt,name=githash" json:"githash,omitempty"`
	Tags    []*Tags `protobuf:"bytes,2,rep,name=tags" json:"tags,omitempty"`
}

func (*UpdateResult) Descriptor

func (*UpdateResult) Descriptor() ([]byte, []int)

func (*UpdateResult) GetGithash

func (m *UpdateResult) GetGithash() string

func (*UpdateResult) GetTags

func (m *UpdateResult) GetTags() []*Tags

func (*UpdateResult) ProtoMessage

func (*UpdateResult) ProtoMessage()

func (*UpdateResult) Reset

func (m *UpdateResult) Reset()

func (*UpdateResult) String

func (m *UpdateResult) String() string

Jump to

Keyboard shortcuts

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