trello

package
v0.0.0-...-54cc154 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Board.ProtoReflect.Descriptor instead.

func (*Board) GetId

func (x *Board) GetId() string

func (*Board) GetName

func (x *Board) GetName() string

func (*Board) ProtoMessage

func (*Board) ProtoMessage()

func (*Board) ProtoReflect

func (x *Board) ProtoReflect() protoreflect.Message

func (*Board) Reset

func (x *Board) Reset()

func (*Board) String

func (x *Board) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Card.ProtoReflect.Descriptor instead.

func (*Card) GetAttachmentsCount

func (x *Card) GetAttachmentsCount() int64

func (*Card) GetCardCategory

func (x *Card) GetCardCategory() string

func (*Card) GetCardId

func (x *Card) GetCardId() string

func (*Card) GetCardName

func (x *Card) GetCardName() string

func (*Card) GetCardVotes

func (x *Card) GetCardVotes() int64

func (*Card) GetCheckItemsComplete

func (x *Card) GetCheckItemsComplete() int64

func (*Card) GetCheckItemsIncomplete

func (x *Card) GetCheckItemsIncomplete() int64

func (*Card) GetCommentCount

func (x *Card) GetCommentCount() int64

func (*Card) GetCountCheckItems

func (x *Card) GetCountCheckItems() int64

func (*Card) GetCountCheckLists

func (x *Card) GetCountCheckLists() int64

func (*Card) GetCreatedAt

func (x *Card) GetCreatedAt() int64

func (*Card) GetMemberId

func (x *Card) GetMemberId() string

func (*Card) GetMemberName

func (x *Card) GetMemberName() string

func (*Card) GetMemberUsername

func (x *Card) GetMemberUsername() string

func (*Card) GetUrl

func (x *Card) GetUrl() string

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) ProtoReflect

func (x *Card) ProtoReflect() protoreflect.Message

func (*Card) Reset

func (x *Card) Reset()

func (*Card) String

func (x *Card) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Member.ProtoReflect.Descriptor instead.

func (*Member) GetId

func (x *Member) GetId() string

func (*Member) GetName

func (x *Member) GetName() string

func (*Member) GetUsername

func (x *Member) GetUsername() string

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) ProtoReflect

func (x *Member) ProtoReflect() protoreflect.Message

func (*Member) Reset

func (x *Member) Reset()

func (*Member) String

func (x *Member) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetApiKey

func (x *Request) GetApiKey() string

func (*Request) GetBoard

func (x *Request) GetBoard() *Board

func (*Request) GetToken

func (x *Request) GetToken() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetData

func (x *Response) GetData() []*Card

func (*Response) GetError

func (x *Response) GetError() string

func (*Response) GetLastUpdate

func (x *Response) GetLastUpdate() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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

type TrelloServer interface {
	GetCard(context.Context, *Request) (*Response, error)
}

TrelloServer is the server API for Trello service.

type UnimplementedTrelloServer

type UnimplementedTrelloServer struct {
}

UnimplementedTrelloServer can be embedded to have forward compatible implementations.

func (*UnimplementedTrelloServer) GetCard

Jump to

Keyboard shortcuts

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