adapter

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

DB ...

func NewDB

func NewDB(conn *gorm.DB) *DB

NewDB ...

func (*DB) CreateTeam

func (db *DB) CreateTeam(ctx context.Context, team *openapi.Team) (openapi.Team, error)

CreateTeam ...

func (*DB) GetTeamByID

func (db *DB) GetTeamByID(ctx context.Context, id openapi_types.UUID) (openapi.Team, error)

GetTeam

func (*DB) ListTeams

func (db *DB) ListTeams(ctx context.Context, params openapi.ListTeamParams) (models.PaginatedListTeams, error)

ListTeams ...

type Handlers

Handlers ...

func NewHandlers

func NewHandlers(teams *handlers.TeamsHandler, systems *handlers.SystemsHandler, version *handlers.VersionHandler) *Handlers

NewHandlers ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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