bins

package
v0.0.0-...-e50a543 Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	GetAll(accountID string, opts *gModels.QueryOpts) ([]*models.Bin, error)
	Get(accountID string, ID string) (*models.Bin, error)
	Create(accountID string, bin *models.Bin) error
	Update(accountID string, ID string, bin *models.Bin) (int, error)
	Delete(accountID string, ID string) (int, error)
	Destroy(accountID string) (int, error)
}

DB ...

type Repository

type Repository struct {
	DB DB
}

Repository ...

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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