config

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheCodeStoreSetting

type CacheCodeStoreSetting struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

type CodeStoreSetting

type CodeStoreSetting struct {
	Enabled         bool                   `json:"enabled" yaml:"enabled"`
	RequestInterval time.Duration          `json:"requestInterval" yaml:"requestInterval"`
	ExpireIn        time.Duration          `json:"expireIn" yaml:"expireIn"`
	Cache           *CacheCodeStoreSetting `json:"cache"`
	Redis           *RedisCodeStoreSetting `json:"store"`
}

type RedisCodeStoreSetting

type RedisCodeStoreSetting struct {
	Enabled   bool   `json:"enabled" yaml:"enabled"`
	Database  int    `json:"database" yaml:"database"`
	KeyPrefix string `json:"keyPrefix" yaml:"keyPrefix"`
}

Jump to

Keyboard shortcuts

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