mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-12 09:00:54 +00:00
run goimports
This commit is contained in:
parent
69e5434cc2
commit
922bda2218
16 changed files with 53 additions and 38 deletions
|
@ -3,19 +3,19 @@ package server
|
|||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/satori/go.uuid"
|
||||
"net"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/satori/go.uuid"
|
||||
)
|
||||
|
||||
const NegativeOne = ^uint64(0)
|
||||
|
||||
type ConfigFile struct {
|
||||
// Numeric server id known to the backend
|
||||
ServerID int
|
||||
ServerID int
|
||||
// Address to bind the HTTP server to on startup.
|
||||
ListenAddr string
|
||||
ListenAddr string
|
||||
// Address to bind the TLS server to on startup.
|
||||
SSLListenAddr string
|
||||
// URL to the backend server
|
||||
|
@ -24,15 +24,15 @@ type ConfigFile struct {
|
|||
// Minimum memory to accept a new connection
|
||||
MinMemoryKBytes uint64
|
||||
// Maximum # of clients that can be connected. 0 to disable.
|
||||
MaxClientCount uint64
|
||||
MaxClientCount uint64
|
||||
|
||||
// SSL/TLS
|
||||
// Enable the use of SSL.
|
||||
UseSSL bool
|
||||
UseSSL bool
|
||||
// Path to certificate file.
|
||||
SSLCertificateFile string
|
||||
// Path to key file.
|
||||
SSLKeyFile string
|
||||
SSLKeyFile string
|
||||
|
||||
UseESLogStashing bool
|
||||
ESServer string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue