sprint

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package sprint is a generated protocol buffer package.

It is generated from these files:

services/sprint/sprint.proto

It has these top-level messages:

AddSprintRequest
AddSprintResponse
CloseSprintRequest
CloseSprintResponse
GetSprintRequest
GetSprintResponse
Sprint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSprintServiceServer

func RegisterSprintServiceServer(s *grpc.Server, srv SprintServiceServer)

Types

type AddSprintRequest

type AddSprintRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

func (*AddSprintRequest) Descriptor

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

func (*AddSprintRequest) GetName

func (m *AddSprintRequest) GetName() string

func (*AddSprintRequest) ProtoMessage

func (*AddSprintRequest) ProtoMessage()

func (*AddSprintRequest) Reset

func (m *AddSprintRequest) Reset()

func (*AddSprintRequest) String

func (m *AddSprintRequest) String() string

type AddSprintResponse

type AddSprintResponse struct {
	Sprint *Sprint `protobuf:"bytes,1,opt,name=sprint" json:"sprint,omitempty"`
	ErrMsg string  `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
}

func (*AddSprintResponse) Descriptor

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

func (*AddSprintResponse) GetErrMsg

func (m *AddSprintResponse) GetErrMsg() string

func (*AddSprintResponse) GetSprint

func (m *AddSprintResponse) GetSprint() *Sprint

func (*AddSprintResponse) ProtoMessage

func (*AddSprintResponse) ProtoMessage()

func (*AddSprintResponse) Reset

func (m *AddSprintResponse) Reset()

func (*AddSprintResponse) String

func (m *AddSprintResponse) String() string

type CloseSprintRequest

type CloseSprintRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*CloseSprintRequest) Descriptor

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

func (*CloseSprintRequest) GetId

func (m *CloseSprintRequest) GetId() string

func (*CloseSprintRequest) ProtoMessage

func (*CloseSprintRequest) ProtoMessage()

func (*CloseSprintRequest) Reset

func (m *CloseSprintRequest) Reset()

func (*CloseSprintRequest) String

func (m *CloseSprintRequest) String() string

type CloseSprintResponse

type CloseSprintResponse struct {
	ErrMsg string `protobuf:"bytes,1,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
}

func (*CloseSprintResponse) Descriptor

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

func (*CloseSprintResponse) GetErrMsg

func (m *CloseSprintResponse) GetErrMsg() string

func (*CloseSprintResponse) ProtoMessage

func (*CloseSprintResponse) ProtoMessage()

func (*CloseSprintResponse) Reset

func (m *CloseSprintResponse) Reset()

func (*CloseSprintResponse) String

func (m *CloseSprintResponse) String() string

type GetSprintRequest

type GetSprintRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*GetSprintRequest) Descriptor

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

func (*GetSprintRequest) GetId

func (m *GetSprintRequest) GetId() string

func (*GetSprintRequest) ProtoMessage

func (*GetSprintRequest) ProtoMessage()

func (*GetSprintRequest) Reset

func (m *GetSprintRequest) Reset()

func (*GetSprintRequest) String

func (m *GetSprintRequest) String() string

type GetSprintResponse

type GetSprintResponse struct {
	Sprint *Sprint `protobuf:"bytes,1,opt,name=sprint" json:"sprint,omitempty"`
	ErrMsg string  `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
}

func (*GetSprintResponse) Descriptor

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

func (*GetSprintResponse) GetErrMsg

func (m *GetSprintResponse) GetErrMsg() string

func (*GetSprintResponse) GetSprint

func (m *GetSprintResponse) GetSprint() *Sprint

func (*GetSprintResponse) ProtoMessage

func (*GetSprintResponse) ProtoMessage()

func (*GetSprintResponse) Reset

func (m *GetSprintResponse) Reset()

func (*GetSprintResponse) String

func (m *GetSprintResponse) String() string

type Sprint

type Sprint struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt uint32 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}

func (*Sprint) Descriptor

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

func (*Sprint) GetCreatedAt

func (m *Sprint) GetCreatedAt() uint32

func (*Sprint) GetId

func (m *Sprint) GetId() string

func (*Sprint) GetName

func (m *Sprint) GetName() string

func (*Sprint) ProtoMessage

func (*Sprint) ProtoMessage()

func (*Sprint) Reset

func (m *Sprint) Reset()

func (*Sprint) String

func (m *Sprint) String() string

type SprintServiceClient

type SprintServiceClient interface {
	AddSprint(ctx context.Context, in *AddSprintRequest, opts ...grpc.CallOption) (*AddSprintResponse, error)
	CloseSprint(ctx context.Context, in *CloseSprintRequest, opts ...grpc.CallOption) (*CloseSprintResponse, error)
	GetSprint(ctx context.Context, in *GetSprintRequest, opts ...grpc.CallOption) (*GetSprintResponse, error)
}

func NewSprintServiceClient

func NewSprintServiceClient(cc *grpc.ClientConn) SprintServiceClient

Jump to

Keyboard shortcuts

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