Documentation ¶
Overview ¶
Package api provides general types and functions for leanmanager
Package api contains the types used and exposed by the API Server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Channel ¶
type Channel struct { ID string `json:"id"` Name string `json:"name"` TeamID string `json:"teamId"` }
Channel represents a channel or group where members chat
type DailyMeeting ¶
type DailyMeeting struct { ChannelID string `json:"channelId"` LastDaily time.Time `json:"lastDaily"` StartTime time.Time `json:"startTime"` LimitTime time.Time `json:"limitTime"` Days []time.Weekday `json:"days"` }
DailyMeeting represents a Daily Meeting with its status
type Member ¶
type Member struct { ID string `json:"id"` Name string `json:"name"` ChannelID string `json:"channelId"` TeamID string `json:"teamId"` }
Member represents a member of the team
type PredefinedDailyReply ¶
type PredefinedDailyReply struct { ChannelID string `json:"channelId"` Question int `json:"question"` Reply string `json:"reply"` Exp string `json:"regularExpression"` Match bool `json:"match"` }
PredefinedDailyReply represents an automated reply to answers in the Daily Meeting following the exp criteria
Click to show internal directories.
Click to hide internal directories.