bridge

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

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

Go to latest
Published: Mar 9, 2023 License: BSD-2-Clause, BSD-3-Clause, ISC, + 1 more Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidRepoName

func IsValidRepoName(repoName string) bool

func OpenDb

func OpenDb(dbFilePath string) (*sql.DB, error)

func SaveConfig

func SaveConfig(cfg Config) error

Types

type Config

type Config struct {
	ConfigDir     string   `json:"-"`
	RepositoryDir string   `json:"repositoryDir"`
	DbFile        string   `json:"DbFile"`
	Relays        []string `json:"relays"`
	GitRepoOwners []string `json:"gitRepoOwners"`
}

func LoadConfig

func LoadConfig(configDir string) (Config, error)

Jump to

Keyboard shortcuts

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