storage

package
Version: v0.0.0-...-2c15e9f Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStorer

type DataStorer interface {
	AddSubscription(domain.Subscription)
	GetSubscriptionByID(domain.ChatID) domain.Subscription
	RemoveSubscription(domain.Subscription)
	GetSubscriptions() []domain.Subscription
}

DataStorer to store chats and postcodes

func NewFirestoreAdapter

func NewFirestoreAdapter(projectID string) DataStorer

NewFirestoreAdapter creates new adapter

Jump to

Keyboard shortcuts

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