base

package
v0.0.0-...-c9e90d7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cashe

type Cashe interface {
	Get(key string) (string, error)
	Set(key, value string) error
}

type Memcache

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

func NewMemcache

func NewMemcache(servers []string) (*Memcache, error)

func (*Memcache) Get

func (m *Memcache) Get(key string) (string, error)

func (*Memcache) Set

func (m *Memcache) Set(key, value string) error

type Redis

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

func NewRedis

func NewRedis(address, password string) (*Redis, error)

func (*Redis) Get

func (r *Redis) Get(key string) (string, error)

func (*Redis) Set

func (r *Redis) Set(key, value string) error

type Repository

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

func NewRepository

func NewRepository(connectionUrl string, c Cashe) (*Repository, error)

func (*Repository) AddReport

func (r *Repository) AddReport(report *minidump.Report) (string, error)

func (*Repository) AddSymbol

func (r *Repository) AddSymbol(s *Symbol) error

func (*Repository) GetSymbol

func (r *Repository) GetSymbol(debugId string) (*Symbol, error)

func (*Repository) GetSymbolForPlatform

func (r *Repository) GetSymbolForPlatform(platform, version string) (*Symbol, error)

func (*Repository) IsExist

func (r *Repository) IsExist(s *Symbol) (bool, error)

type Symbol

type Symbol struct {
	DirPath   string `json:"path"`
	Version   string `json:"build"`
	DebugId   string `json:"debugId"`
	Platform  string `json:"platform"`
	DataAdded string `json:"date_added"`
}

Jump to

Keyboard shortcuts

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