Versions in this module Expand all Collapse all v0 v0.0.1 May 22, 2019 Changes in this version + var DefaultSegments = []*Segment + func SignalHandler(ctx context.Context, cancel func()) + type Counter struct + Segments []*Segment + func NewCounter(fb *screen.FrameBuffer, c client.Client, segments []*Segment) *Counter + func (c *Counter) DrawPinCount(ctx context.Context) + type Direction int + const Down + const Left + const Right + const Up + type Peer struct + Color color.Pixel565 + type Segment struct + Bucket int + Color color.Pixel565 + type Statuses struct + Peers []*Peer + Self peer.ID + func NewStatuses(fb *screen.FrameBuffer, self peer.ID, c client.Client) *Statuses + func (s *Statuses) AddNewPeer(pid peer.ID) bool + func (s *Statuses) DrawPeerStatuses(ctx context.Context) + func (s *Statuses) DropExpiredPeer(pid peer.ID) bool + func (s *Statuses) Full() bool + func (s *Statuses) Peer(pid peer.ID) *Peer