cards

package
v0.0.0-...-15588ea Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndPersist

func CreateAndPersist(config Config, key clientv3.KV, ctx context.Context)

create and persist to etcd

func CreateAndSaveCard

func CreateAndSaveCard(config Config)

func FetchAllCards

func FetchAllCards()

func FetchCard

func FetchCard(id string, key clientv3.KV, ctx context.Context)

func FetchCardById

func FetchCardById(id string)

Types

type Config

type Config struct {
	Occasion string
	Language string
	UserName string
	CardID   string
}

Jump to

Keyboard shortcuts

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