Documentation ¶ Index ¶ Variables type Status func GetStatus(tweets []twitter.Tweet) *Status func (s *Status) String() string Constants ¶ This section is empty. Variables ¶ View Source var ( // OK is when the status is all good OK = &Status{emoji.Sprint(":green_heart:")} // NOK when the traffic is not good NOK = &Status{emoji.Sprint(":anger:")} // Warning when the traffic is unknown Warning = &Status{emoji.Sprint(":question:")} ) Functions ¶ This section is empty. Types ¶ type Status ¶ type Status struct { // contains filtered or unexported fields } Status of the traffic func GetStatus ¶ func GetStatus(tweets []twitter.Tweet) *Status GetStatus from the latest tweets func (*Status) String ¶ func (s *Status) String() string Source Files ¶ View all Source files state.go Click to show internal directories. Click to hide internal directories.