Documentation ¶
Index ¶
- Variables
- func RegisterTrelloServer(s *grpc.Server, srv TrelloServer)
- type Board
- type Card
- func (*Card) Descriptor() ([]byte, []int)deprecated
- func (x *Card) GetAttachmentsCount() int64
- func (x *Card) GetCardCategory() string
- func (x *Card) GetCardId() string
- func (x *Card) GetCardName() string
- func (x *Card) GetCardVotes() int64
- func (x *Card) GetCheckItemsComplete() int64
- func (x *Card) GetCheckItemsIncomplete() int64
- func (x *Card) GetCommentCount() int64
- func (x *Card) GetCountCheckItems() int64
- func (x *Card) GetCountCheckLists() int64
- func (x *Card) GetCreatedAt() int64
- func (x *Card) GetMemberId() string
- func (x *Card) GetMemberName() string
- func (x *Card) GetMemberUsername() string
- func (x *Card) GetUrl() string
- func (*Card) ProtoMessage()
- func (x *Card) ProtoReflect() protoreflect.Message
- func (x *Card) Reset()
- func (x *Card) String() string
- type Member
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetApiKey() string
- func (x *Request) GetBoard() *Board
- func (x *Request) GetToken() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetData() []*Card
- func (x *Response) GetError() string
- func (x *Response) GetLastUpdate() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type TrelloClient
- type TrelloServer
- type UnimplementedTrelloServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_trello_proto_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTrelloServer ¶
func RegisterTrelloServer(s *grpc.Server, srv TrelloServer)
Types ¶
type Board ¶
type Board struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Board) Descriptor
deprecated
func (*Board) ProtoMessage ¶
func (*Board) ProtoMessage()
func (*Board) ProtoReflect ¶
func (x *Board) ProtoReflect() protoreflect.Message
type Card ¶
type Card struct { CardId string `protobuf:"bytes,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` CardCategory string `protobuf:"bytes,2,opt,name=card_category,json=cardCategory,proto3" json:"card_category,omitempty"` CardName string `protobuf:"bytes,3,opt,name=card_name,json=cardName,proto3" json:"card_name,omitempty"` CardVotes int64 `protobuf:"varint,4,opt,name=card_votes,json=cardVotes,proto3" json:"card_votes,omitempty"` CountCheckItems int64 `protobuf:"varint,5,opt,name=count_check_items,json=countCheckItems,proto3" json:"count_check_items,omitempty"` CountCheckLists int64 `protobuf:"varint,6,opt,name=count_check_lists,json=countCheckLists,proto3" json:"count_check_lists,omitempty"` CheckItemsComplete int64 `protobuf:"varint,7,opt,name=check_items_complete,json=checkItemsComplete,proto3" json:"check_items_complete,omitempty"` CheckItemsIncomplete int64 `protobuf:"varint,8,opt,name=check_items_incomplete,json=checkItemsIncomplete,proto3" json:"check_items_incomplete,omitempty"` CommentCount int64 `protobuf:"varint,9,opt,name=comment_count,json=commentCount,proto3" json:"comment_count,omitempty"` AttachmentsCount int64 `protobuf:"varint,10,opt,name=attachments_count,json=attachmentsCount,proto3" json:"attachments_count,omitempty"` Url string `protobuf:"bytes,11,opt,name=url,proto3" json:"url,omitempty"` MemberId string `protobuf:"bytes,12,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` MemberName string `protobuf:"bytes,13,opt,name=member_name,json=memberName,proto3" json:"member_name,omitempty"` MemberUsername string `protobuf:"bytes,14,opt,name=member_username,json=memberUsername,proto3" json:"member_username,omitempty"` CreatedAt int64 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Card) Descriptor
deprecated
func (*Card) GetAttachmentsCount ¶
func (*Card) GetCardCategory ¶
func (*Card) GetCardName ¶
func (*Card) GetCardVotes ¶
func (*Card) GetCheckItemsComplete ¶
func (*Card) GetCheckItemsIncomplete ¶
func (*Card) GetCommentCount ¶
func (*Card) GetCountCheckItems ¶
func (*Card) GetCountCheckLists ¶
func (*Card) GetCreatedAt ¶
func (*Card) GetMemberId ¶
func (*Card) GetMemberName ¶
func (*Card) GetMemberUsername ¶
func (*Card) ProtoMessage ¶
func (*Card) ProtoMessage()
func (*Card) ProtoReflect ¶
func (x *Card) ProtoReflect() protoreflect.Message
type Member ¶
type Member struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*Member) Descriptor
deprecated
func (*Member) GetUsername ¶
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) ProtoReflect ¶
func (x *Member) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct { ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Board *Board `protobuf:"bytes,3,opt,name=board,proto3" json:"board,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Data []*Card `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` LastUpdate string `protobuf:"bytes,2,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetLastUpdate ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type TrelloClient ¶
type TrelloClient interface {
GetCard(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
TrelloClient is the client API for Trello service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTrelloClient ¶
func NewTrelloClient(cc grpc.ClientConnInterface) TrelloClient
type TrelloServer ¶
TrelloServer is the server API for Trello service.
type UnimplementedTrelloServer ¶
type UnimplementedTrelloServer struct { }
UnimplementedTrelloServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.