storage

package
v0.0.0-...-dba9351 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDBReader

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

func NewCRDBReader

func NewCRDBReader() *CRDBReader

func (*CRDBReader) Get

func (r *CRDBReader) Get(ctx context.Context) ([]*handler.ResultData, error)

CREATE TABLE webnesday (attended STRING PRIMARY KEY, count INT);

type PubsubWriter

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

func NewPubsubWriter

func NewPubsubWriter() *PubsubWriter

func (*PubsubWriter) Save

func (w *PubsubWriter) Save(ctx context.Context, attended string) error

type ReaderMock

type ReaderMock struct{}

func (*ReaderMock) Get

type Writer

type Writer struct{}

type WriterMock

type WriterMock struct{}

func (*WriterMock) Save

func (m *WriterMock) Save(ctx context.Context, attended string) error

Jump to

Keyboard shortcuts

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