apidb

package
v0.0.0-...-16f8954 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	shared.ServiceInterface
	CheckIdentityManagePermission(string, string, *sql.Tx) (bool, error)
	GetDataSourceTypes([]string) ([]string, error)
	GetListProjects(string) (*models.ListProjectsOutput, error)
	GetUserProjects(string) (map[string]bool, error)
	GetAllProjects() ([]string, error)
}

Service - accessing API db

func New

func New(db *sqlx.DB) Service

New creates new db service instance with given db

Jump to

Keyboard shortcuts

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