urlprovider

package
v0.0.0-...-b24f37d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URLProvider

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

func New

func New(perfgit perfgit.Git) *URLProvider

New creates a new instance of the UrlProvider struct

func (*URLProvider) Explore

func (prov *URLProvider) Explore(ctx context.Context, startCommitNumber int, endCommitNumber int, parameters map[string][]string, disableFilterParentTraces bool, queryParams url.Values) string

Explore generates a url to the explore page for the given parameters

func (*URLProvider) GetQueryStringFromParameters

func (prov *URLProvider) GetQueryStringFromParameters(parameters map[string][]string) string

func (*URLProvider) MultiGraph

func (prov *URLProvider) MultiGraph(ctx context.Context, startCommitNumber int, endCommitNumber int, shortcutId string, disableFilterParentTraces bool, queryParams url.Values) string

MultiGraph generates a url to the multigraph page for the given parameters.

Jump to

Keyboard shortcuts

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