config

package
v0.0.0-...-01ad037 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = &Github{
	URL:                  "https://api.github.com/",
	Token:                "",
	Timeout:              5000,
	CountCacheExpiration: 30000,
}

Functions

This section is empty.

Types

type Github

type Github struct {
	URL                  string `validate:"required,url,http"`
	Token                string `validate:"required"`
	Timeout              int    `validate:"gte=0"` // In Millisecond
	CountCacheExpiration int    `validate:"gte=0"` // In Millisecond
}

Jump to

Keyboard shortcuts

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