controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MPL-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(db datastore.Datastore) http.HandlerFunc

Command handles GetUpdates and Commit requests from sync clients.

func SyncRouter

func SyncRouter(datastore datastore.Datastore) chi.Router

SyncRouter add routers for command and auth endpoint requests.

func Timestamp

func Timestamp() http.HandlerFunc

Timestamp returns a current timestamp back to sync clients.

Types

This section is empty.

Jump to

Keyboard shortcuts

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