Versions in this module Expand all Collapse all v0 v0.3.2 Nov 9, 2018 Changes in this version + func Exit() + func Init(db *config.Database) + type Repository interface + Close func() + CreateBackend func(backend *model.Backend) (*model.Backend, error) + DeleteBackend func(id string) error + GetBackend func(id string) (*model.Backend, error) + ListBackend func(limit, offset int, query interface{}) ([]*model.Backend, error) + UpdateBackend func(backend *model.Backend) (*model.Backend, error) + var Repo Repository