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) GetCreatedAt ¶
func (*Sprint) ProtoMessage ¶
func (*Sprint) ProtoMessage()
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
type SprintServiceServer ¶
type SprintServiceServer interface { AddSprint(context.Context, *AddSprintRequest) (*AddSprintResponse, error) CloseSprint(context.Context, *CloseSprintRequest) (*CloseSprintResponse, error) GetSprint(context.Context, *GetSprintRequest) (*GetSprintResponse, error) }
Click to show internal directories.
Click to hide internal directories.