client

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEntry

func CreateEntry(ctx context.Context, clt *datastore.Client, key, url string) error

CreateEntry saves a value (url) for the given key.

func CreateLogEntry

func CreateLogEntry(ctx context.Context, clt *datastore.Client, key, url string) error

CreateLogEntry adds a log entry that a user loaded a given key.

func LoadEntry

func LoadEntry(ctx context.Context, clt *datastore.Client, key string) (*entity.Entry, error)

LoadEntry loads the entry for the given key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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