Documentation ¶
Index ¶
- func ConfigProvider(config *config.Config) gin.HandlerFunc
- func DatabaseProvider(db *gorm.DB) gin.HandlerFunc
- func NetworkStats(stats *bandwidth.StatCounterManager) gin.HandlerFunc
- func OLSRDProvider(parser *olsrd.HostsParser) gin.HandlerFunc
- func OLSRDServicesProvider(parser *olsrd.ServicesParser) gin.HandlerFunc
- func PaginatedDatabaseProvider(db *gorm.DB, config PaginationConfig) gin.HandlerFunc
- func RequireLogin(config *config.Config) gin.HandlerFunc
- func TracingProvider(config *config.Config) gin.HandlerFunc
- func VTunClientWatcherProvider(clientWatcher *vtun.VTunClientWatcher) gin.HandlerFunc
- func VersionProvider(version string) gin.HandlerFunc
- func WireguardManagerProvider(manager *wireguard.Manager) gin.HandlerFunc
- type PaginationConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigProvider ¶
func ConfigProvider(config *config.Config) gin.HandlerFunc
func DatabaseProvider ¶
func DatabaseProvider(db *gorm.DB) gin.HandlerFunc
func NetworkStats ¶
func NetworkStats(stats *bandwidth.StatCounterManager) gin.HandlerFunc
func OLSRDProvider ¶
func OLSRDProvider(parser *olsrd.HostsParser) gin.HandlerFunc
func OLSRDServicesProvider ¶ added in v0.0.80
func OLSRDServicesProvider(parser *olsrd.ServicesParser) gin.HandlerFunc
func PaginatedDatabaseProvider ¶
func PaginatedDatabaseProvider(db *gorm.DB, config PaginationConfig) gin.HandlerFunc
func RequireLogin ¶
func RequireLogin(config *config.Config) gin.HandlerFunc
func TracingProvider ¶
func TracingProvider(config *config.Config) gin.HandlerFunc
func VTunClientWatcherProvider ¶ added in v0.0.35
func VTunClientWatcherProvider(clientWatcher *vtun.VTunClientWatcher) gin.HandlerFunc
func VersionProvider ¶ added in v0.0.139
func VersionProvider(version string) gin.HandlerFunc
func WireguardManagerProvider ¶ added in v0.0.100
func WireguardManagerProvider(manager *wireguard.Manager) gin.HandlerFunc
Types ¶
type PaginationConfig ¶
Click to show internal directories.
Click to hide internal directories.