models

package
v0.0.0-...-78cca8a Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analytics

type Analytics struct {
	GoogleTrackingID string   `mapstructure:"googleAnalyticsTrackingId"`
	AmplitudeKey     string   `mapstructure:"amplitudeAPPKey"`
	ScriptURLs       []string `mapstructure:"scriptURLs"`
}

type ConfigJS

type ConfigJS struct {
	P2P            P2P          `mapstructure:"p2p"`
	P2PStunServers []StunServer `mapstructure:"p2pStunServers"`
	Hosts          Hosts        `mapstructure:"hosts"`
	Analytics      Analytics    `mapstructure:"analytics"`
}

type GeoIPModel

type GeoIPModel struct {
	Status      string `json:"status"`
	CountryCode string `json:"countryCode"`
	ISP         string `json:"isp"`
	AS          string `json:"as"`
	Query       string `json:"query"`
}

type Hosts

type Hosts struct {
	Anonymousdomain string `mapstructure:"anonymousdomain"`
}

type P2P

type P2P struct {
	StunServers []StunServer `mapstructure:"stunServers"`
}

type StunServer

type StunServer struct {
	Urls string `mapstructure:"urls"`
}

Jump to

Keyboard shortcuts

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