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) ProtoMessage ¶
func (*Empty) ProtoMessage()
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) ProtoMessage ¶
func (*Tags) ProtoMessage()
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
Click to show internal directories.
Click to hide internal directories.