patientheap

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortPatients

func SortPatients(done <-chan struct{}, patients <-chan Patient, doFilter bool) <-chan PatientOutput

SortPatients takes a channel of Patients with an update timestamp and appeends them to a channel most recently changed patients first.

Types

type Patient

type Patient struct {
	ID         string
	LastUpdate string
}

type PatientOutput

type PatientOutput struct {
	Patient
	Remaining int
}

Jump to

Keyboard shortcuts

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