Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { Title string `json:"title"` DateDue time.Time `json:"date_due"` LibraryName string `json:"library_name"` Renewable bool `json:"renewable"` }
Book yada
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client holds a connection to opac
type Opac ¶
type Opac struct { Name string `json:"name"` Fee float64 `json:"fee"` Updated time.Time `json:"updated"` Books []Book `json:"books"` Reservations []Reservation `json:"reservations"` }
Opac holds library loans
func (*Opac) ReservationPickup ¶
ReservationPickup returns true if any book reserved is due for pickup
Click to show internal directories.
Click to hide internal directories.