cache

package
v0.0.0-...-0a9f55e Latest Latest
Warning

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

Go to latest
Published: May 28, 2017 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 Account

type Account struct {
	ID string `json:"id"`
}

type AccountsService

type AccountsService interface {
	Get(string) (*Account, error)
	Set(*Account) error
}

type App

type App struct {
	Bundle string `json:"bundle"`
}

type AppsService

type AppsService interface {
	Get(string) (*App, error)
	Set(*App) error
}

type Cache

type Cache interface {
	Close() error
	Accounts() AccountsService
	Apps() AppsService
	Config() ConfigService
	Domains() DomainsService
}

type ConfigService

type ConfigService interface {
	Get(string) (string, error)
	Set(string, string) error
}

type Configuration

type Configuration struct {
	Type string `json:"type"` // required
}

type Domain

type Domain struct {
	Domain string `json:"domain"`
}

type DomainsService

type DomainsService interface {
	Get(string) (*Domain, error)
	Set(*Domain) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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