gcpdatastore

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DatastoreKind = "Account"

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Name   string
	APIKey string
}

type Datastore

type Datastore struct {
	ProjectID string
	Client    *datastore.Client
	// contains filtered or unexported fields
}

func New

func New(projectID string) (Datastore, error)

func (Datastore) Type

func (d Datastore) Type() string

func (Datastore) ValidAPIKey

func (d Datastore) ValidAPIKey(apiKey string) (bool, error)

Jump to

Keyboard shortcuts

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