Documentation
¶
Index ¶
Constants ¶
View Source
const ( ClusterBackendMemberlist = "memberlist" ClusterBackendRedis = "redis" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Port int `mapstructure:"port"`
PeerDomain string `mapstructure:"peer-domain"`
CleanupDuration time.Duration `mapstructure:"cleanup-duration"`
MemberListPort int `mapstructure:"memberlist-port"`
MemberlistSyncDuration time.Duration `mapstructure:"memberlist-sync-duration"`
WebhookMaxBodySize int64 `mapstructure:"webhook-max-body-size"`
ClusterBackend string `mapstructure:"cluster-backend"`
RedisURL string `mapstructure:"redis-url"`
RedisKeyPrefix string `mapstructure:"redis-key-prefix"`
RedisHeartbeatDuration time.Duration `mapstructure:"redis-heartbeat-duration"`
RedisClusterMode bool `mapstructure:"redis-cluster-mode"`
RedisTLSCAFile string `mapstructure:"redis-tls-ca-file"`
RedisTLSInsecureSkipVerify bool `mapstructure:"redis-tls-insecure-skip-verify"`
LogLevel string `mapstructure:"log-level"`
LogFormat string `mapstructure:"log-format"`
GithubClientID string `mapstructure:"github-client-id"`
GithubClientSecret string `mapstructure:"github-client-secret"`
GithubOrg string `mapstructure:"github-org"`
JwtSigningKey string `mapstructure:"jwt-signing-key"`
}
func (*Server) AuthEnabled ¶
Click to show internal directories.
Click to hide internal directories.