repository

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstance

func GetInstance(ctx context.Context, cfg *Config) service.Repository

GetInstance returns the singleton instance of the repository

Types

type Config

type Config struct {
	Name     Name                  `yaml:"Name"`
	Local    local.Config          `yaml:"Local"`
	OpenAuth openauth.ClientConfig `yaml:"OpenAuth"`
}

type Name

type Name string
const (
	Local    Name = "Local"
	OpenAuth Name = "OpenAuth"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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