tinybird

package
v0.0.0-...-eb082ec Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Token is the Tinybird token
	Token string

	Logger *zap.Logger
}

type KeyVerificationEvent

type KeyVerificationEvent struct {
	ApiId       string `json:"apiId"`
	WorkspaceId string `json:"workspaceId"`
	KeyId       string `json:"keyId"`
	Ratelimited bool   `json:"ratelimited"`
	Time        int64  `json:"time"`
}

type Tinybird

type Tinybird struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) *Tinybird

func (*Tinybird) Close

func (t *Tinybird) Close()

func (*Tinybird) PublishKeyVerificationEventChannel

func (t *Tinybird) PublishKeyVerificationEventChannel() chan<- KeyVerificationEvent

Jump to

Keyboard shortcuts

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