storage

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Copyright 2022 Adevinta

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

Jump to

Keyboard shortcuts

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