service

package
v0.0.209 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseService added in v0.0.207

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

func NewBaseService added in v0.0.207

func NewBaseService() *BaseService

type HttpFilter added in v0.0.207

type HttpFilter struct {
	ProgramName string
	Scope       string
	Provider    string
	Title       string
	Status      string
	Tech        string
	Latest      bool
	Fresh       bool
	Count       bool
	Limit       int
	Page        int
}

type HttpService added in v0.0.205

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

func NewHttpService added in v0.0.205

func NewHttpService() *HttpService

func (*HttpService) GetHttp added in v0.0.207

func (s *HttpService) GetHttp(filter HttpFilter) ([]model.Http, int64, error)

func (*HttpService) GetHttpByScope added in v0.0.205

func (s *HttpService) GetHttpByScope(scope string) ([]model.Http, error)

GetHttpByScope retrieves all HTTP data where the scope matches the input

func (*HttpService) GetSingleHttpBySubDomain added in v0.0.207

func (s *HttpService) GetSingleHttpBySubDomain(subdomain string) (model.Http, error)

type LiveSubdomainFilter added in v0.0.207

type LiveSubdomainFilter struct {
	ProgramName string
	Scope       string
	Provider    string
	Tag         string
	Fresh       bool
	Count       bool
	Limit       int
	Page        int
}

type LiveSubdomainService added in v0.0.205

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

func NewLiveSubdomainService added in v0.0.205

func NewLiveSubdomainService() *LiveSubdomainService

func (*LiveSubdomainService) GetLiveSubdomains added in v0.0.207

func (s *LiveSubdomainService) GetLiveSubdomains(filter LiveSubdomainFilter) ([]model.LiveSubdomain, int64, error)

func (*LiveSubdomainService) GetSingleLiveSubdomainBySubDomain added in v0.0.207

func (s *LiveSubdomainService) GetSingleLiveSubdomainBySubDomain(subdomain string) (model.LiveSubdomain, error)

type ProgramService added in v0.0.204

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

func NewProgramService added in v0.0.204

func NewProgramService() *ProgramService

func (*ProgramService) DeleteProgram added in v0.0.207

func (s *ProgramService) DeleteProgram(programname string) error

func (*ProgramService) GetAllPrograms added in v0.0.204

func (s *ProgramService) GetAllPrograms() ([]model.Program, error)

GetAll retrieves all programs from the database

func (*ProgramService) GetSingleProgram added in v0.0.207

func (s *ProgramService) GetSingleProgram(programname string) (model.Program, error)

GetAll retrieves all programs from the database

type SubdomainFilter added in v0.0.207

type SubdomainFilter struct {
	ProgramName string
	Scope       string
	Provider    string
	Fresh       bool
	Count       bool
	Limit       int
	Page        int
}

type SubdomainService added in v0.0.204

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

func NewSubdomainService added in v0.0.204

func NewSubdomainService() *SubdomainService

func (*SubdomainService) GetAllSubdomain added in v0.0.205

func (s *SubdomainService) GetAllSubdomain() ([]model.Subdomain, error)

func (*SubdomainService) GetSingleSubdomainBySubDomain added in v0.0.207

func (s *SubdomainService) GetSingleSubdomainBySubDomain(subdomain string) (model.Subdomain, error)

func (*SubdomainService) GetSubdomains added in v0.0.207

func (s *SubdomainService) GetSubdomains(filter SubdomainFilter) ([]model.Subdomain, int64, error)

func (*SubdomainService) GetSubdomainsByProgramName added in v0.0.205

func (s *SubdomainService) GetSubdomainsByProgramName(programName string) ([]model.Subdomain, error)

func (*SubdomainService) GetSubdomainsByScope added in v0.0.204

func (s *SubdomainService) GetSubdomainsByScope(scope string) ([]model.Subdomain, error)

GetSubdomainsByScope retrieves all subdomains where the scope matches the input

Jump to

Keyboard shortcuts

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