interfaces

package
v0.0.0-...-602ea90 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICollection

type ICollection interface {
	Insert(...interface{}) error
	Update(selector interface{}, update interface{}) error
	Find(query interface{}) *mgo.Query
}

type IContext

type IContext interface {
	Query(key string)
	DefaultQuery(key, defaultValue string)
}

type IRepositoryStore

type IRepositoryStore interface {
	FindByFullName(owner string, name string) (*models.RepositoryInfo, error)
	FindPackageWithinLimit(query string, skip int, limit int) (*[]models.RepositoryInfo, error)
}

Jump to

Keyboard shortcuts

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