zdummydb

package
v0.0.0-...-b53a1a1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cred

type Cred struct {
	Account   string // Account.
	Token     string // Token.
	SpollSecs int    // stats polling seconds (0 means, no minimum enforced).
}

Cred - credentials needed to connect to database/schema

func GetTokenCred

func GetTokenCred(token string) (*Cred, error)

This is a dummy token validation. Ideally, we should be checking from the accounts that we have added to database.

Jump to

Keyboard shortcuts

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