book

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Book

func Book(ctx context.Context, port int, bookingDuration int64, host, secret string)

Book creates a new bookingstore server listening at host:port, It accepts login tokens signed with secret, and returns a token that can be used to make up to 2 bookings at any time within the bookingDuration seconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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