adapters

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewCache

func NewCache(_ do.Injector) (cache.Cache, error)

NewCache creates a new cache instance.

func NewGitLabClient

func NewGitLabClient(i do.Injector) (*glclient.Client, error)

NewGitLabClient creates a new GitLab client.

func NewGitLabRepository

func NewGitLabRepository(i do.Injector) (*gitlab.Repository, error)

NewGitLabRepository creates a new GitLab repository instance.

func NewHTTPServer

func NewHTTPServer(i do.Injector) (*httpadapter.Server, error)

NewHTTPServer creates a new HTTP server.

func NewRepository

func NewRepository(i do.Injector) (app.Repository, error)

NewRepository creates a repository adapter that implements app.Repository. It wraps the GitLab repository with a cached repository for performance.

Types

This section is empty.

Directories

Path Synopsis
primary
cli
secondary

Jump to

Keyboard shortcuts

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