app

package
v0.0.3-beta Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NextChangeToken = "next_change_token"

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store is a storage for application settings, that is stored in db

func New

func New(db *sql.DB, log contracts.Logger) Store

func (*Store) Get

func (fr *Store) Get(setting string) (string, error)

func (*Store) Set

func (fr *Store) Set(setting string, value string) error

Jump to

Keyboard shortcuts

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