storage

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package storage manage the data storage in a database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	CreateFindingTicket(t model.Ticket) (model.FindingTicket, error)
	GetFindingTicket(findingID, teamID string) (model.FindingTicket, error)

	Healthcheck() error
	Close() error
}

Storage manages the storage of the project data.

type TicketServerStorage

type TicketServerStorage interface {
	FindServerConf(serverID string) (model.TrackerConfig, error)
	FindProjectConfigByTeamID(teamID string) (model.ProjectConfig, error)
}

TicketServerStorage manages the storage of the ticket trackers configuration.

Directories

Path Synopsis
Package postgresql manage the storage in a PostgreSQL database.
Package postgresql manage the storage in a PostgreSQL database.

Jump to

Keyboard shortcuts

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