client

package
v0.0.0-...-524d1cf Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Addr string
}

func (*App) LoadCourses

func (a *App) LoadCourses() (courses []models.Course, err error)

LoadCourses will request all courses.

func (*App) SaveCourse

func (a *App) SaveCourse(course models.Course) (ID int64, err error)

SaveCourse will save a given course and return it's ID.

Jump to

Keyboard shortcuts

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