consts

package
v1.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// DefaultTimestampFormat default time format.
	DefaultTimestampFormat = "2006-01-02_15:04:05"

	// TraceMoeSearchAnimeByFile default trace.moe URL for file
	TraceMoeSearchAnimeByFile = "https://api.trace.moe/search?anilistInfo"

	// TraceMoeSearchAnimeByLink default trace.moe URL for link
	TraceMoeSearchAnimeByLink = "https://api.trace.moe/search?anilistInfo&url="

	// TraceMoeUsage default trace.moe URL
	TraceMoeUsage = "https://api.trace.moe/me"

	// ReleaseURL default release URL.
	ReleaseURL = "https://api.github.com/repos/lpmatos/loli/releases"

	// UserAgent variable - lets the API know where the call is being made from.
	// For more information: https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Headers/User-Agent
	UserAgent = "github.com/lpmatos/loli"

	// BinaryName is the name of the app.
	BinaryName = "loli"

	// ProjectURL is the project url of the app.
	ProjectURL = "loli"
)
View Source
const CompletionHelpMessage = `` /* 617-byte string literal not displayed */

CompletionHelpMessage - return the long description of completion command.

View Source
const Welcome = `` /* 127-byte string literal not displayed */

Welcome - return a markdown welcome message.

Variables

View Source
var (
	// TimeoutInSeconds variable - is the timeout the default HTTP client will use.
	// For more information: https://stackoverflow.com/questions/16895294/how-to-set-timeout-for-http-get-requests-in-golang
	TimeoutInSeconds = 60

	// InsecureSkipVerify controls whether a client verifies the server's certificate chain and host name.
	// For more information: https://golang.org/pkg/crypto/tls/
	InsecureSkipVerify = false
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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