proto

package
v0.0.0-...-5bb9876 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

goreleases.proto

It has these top-level messages:

GetReleaseInfoRequest
ListReleasesRequest
ListReleasesResponse
ReleaseInfo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGoReleaseServiceServer

func RegisterGoReleaseServiceServer(s *grpc.Server, srv GoReleaseServiceServer)

Types

type GetReleaseInfoRequest

type GetReleaseInfoRequest struct {
	Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
}

func (*GetReleaseInfoRequest) Descriptor

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

func (*GetReleaseInfoRequest) GetVersion

func (m *GetReleaseInfoRequest) GetVersion() string

func (*GetReleaseInfoRequest) ProtoMessage

func (*GetReleaseInfoRequest) ProtoMessage()

func (*GetReleaseInfoRequest) Reset

func (m *GetReleaseInfoRequest) Reset()

func (*GetReleaseInfoRequest) String

func (m *GetReleaseInfoRequest) String() string

type GoReleaseServiceClient

type GoReleaseServiceClient interface {
	GetReleaseInfo(ctx context.Context, in *GetReleaseInfoRequest, opts ...grpc.CallOption) (*ReleaseInfo, error)
	ListReleases(ctx context.Context, in *ListReleasesRequest, opts ...grpc.CallOption) (*ListReleasesResponse, error)
}

func NewGoReleaseServiceClient

func NewGoReleaseServiceClient(cc *grpc.ClientConn) GoReleaseServiceClient

type GoReleaseServiceServer

type GoReleaseServiceServer interface {
	GetReleaseInfo(context.Context, *GetReleaseInfoRequest) (*ReleaseInfo, error)
	ListReleases(context.Context, *ListReleasesRequest) (*ListReleasesResponse, error)
}

type ListReleasesRequest

type ListReleasesRequest struct {
}

func (*ListReleasesRequest) Descriptor

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

func (*ListReleasesRequest) ProtoMessage

func (*ListReleasesRequest) ProtoMessage()

func (*ListReleasesRequest) Reset

func (m *ListReleasesRequest) Reset()

func (*ListReleasesRequest) String

func (m *ListReleasesRequest) String() string

type ListReleasesResponse

type ListReleasesResponse struct {
	Releases []*ReleaseInfo `protobuf:"bytes,1,rep,name=releases" json:"releases,omitempty"`
}

func (*ListReleasesResponse) Descriptor

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

func (*ListReleasesResponse) GetReleases

func (m *ListReleasesResponse) GetReleases() []*ReleaseInfo

func (*ListReleasesResponse) ProtoMessage

func (*ListReleasesResponse) ProtoMessage()

func (*ListReleasesResponse) Reset

func (m *ListReleasesResponse) Reset()

func (*ListReleasesResponse) String

func (m *ListReleasesResponse) String() string

type ReleaseInfo

type ReleaseInfo struct {
	Version         string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
	ReleaseDate     string `protobuf:"bytes,2,opt,name=release_date,json=releaseDate" json:"release_date,omitempty"`
	ReleaseNotesUrl string `protobuf:"bytes,3,opt,name=release_notes_url,json=releaseNotesUrl" json:"release_notes_url,omitempty"`
}

func (*ReleaseInfo) Descriptor

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

func (*ReleaseInfo) GetReleaseDate

func (m *ReleaseInfo) GetReleaseDate() string

func (*ReleaseInfo) GetReleaseNotesUrl

func (m *ReleaseInfo) GetReleaseNotesUrl() string

func (*ReleaseInfo) GetVersion

func (m *ReleaseInfo) GetVersion() string

func (*ReleaseInfo) ProtoMessage

func (*ReleaseInfo) ProtoMessage()

func (*ReleaseInfo) Reset

func (m *ReleaseInfo) Reset()

func (*ReleaseInfo) String

func (m *ReleaseInfo) String() string

Jump to

Keyboard shortcuts

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