db

package
v0.0.0-...-2a10dcf Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB() (err error)

Types

type ClientInterface

type ClientInterface interface {
	FirebaseInterface
}

type Database

type Database struct {
	ClientInterface
	// contains filtered or unexported fields
}

func GetClient

func GetClient() *Database

func (*Database) UpdateOrganization

func (client *Database) UpdateOrganization(organization *github.Organization) error

func (*Database) UpdateRepos

func (client *Database) UpdateRepos(repos []*github.Repository) error

type FirebaseInterface

type FirebaseInterface interface {
	UpdateOrganization(organization *github.Organization) error
	UpdateRepos(repos []*github.Repository)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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