report

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	ReportType *string
	ReportData *ReportData
}

func (*Report) GenerateReport

func (r *Report) GenerateReport()

type ReportData

type ReportData struct {
	// count of links who were checked
	TotalLinks int
	// count of files where all valid links were found
	TotalFiles int
	// total time it took to query all the links
	TotalTime *string
	// Current Git branch name
	BranchName *string
	// URL for remote code host github/gitlab etc
	RepoURL    *string
	ValidFiles map[string][]string
	// Links which have some problem, which didn't return status 200
	NotOkLinks         interface{}
	CompleteHealthData interface{}
	ReportMetaData     ReportMetaData
}

type ReportMetaData

type ReportMetaData struct {
	Date string
	Time string
}

Jump to

Keyboard shortcuts

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