repository

package
v0.0.0-...-36ab9e0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RepositorySet = wire.NewSet(ThreatRepoStruct)
View Source
var ThreatRepoStruct = wire.Struct(new(ThreatRepo), "*")

Functions

This section is empty.

Types

type ThreatRepo

type ThreatRepo struct {
	DB *ent.Client
}

func (*ThreatRepo) QueryThreatsWithPagnition

func (t *ThreatRepo) QueryThreatsWithPagnition(ctx context.Context, pagnition schema.PaginationParam) ([]*ent.Threat, schema.PaginationResponse, error)

Jump to

Keyboard shortcuts

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