Documentation ¶
Index ¶
Constants ¶
View Source
const ( HttpAuthorizationTokenHeader = "X-Authorization-Token" HttpContentTypeHeader = "Content-Type" ContentTypeJson = "application/json" )
View Source
const ( RPCSourceMetadataKey = "X-Source" RPCDestinationMetadataKey = "X-Destination" RPCDefaultSource = "browser" RPCProtocolName = "http2 over quic" )
View Source
const ( SysctlUdpBufferSizeKey = "net.core.rmem_max" SysctlUdpBufferSizeValue = 2500000 )
View Source
const DefaultDataDir = "data"
View Source
const DefaultListenPort = 40123
View Source
const DefaultLocalSqliteFilename = "core.local.db"
View Source
const DqliteDataDir = "dqlite"
View Source
const ProtoMixinIdStart = 536870900
View Source
const RpcUnixDialAddress = "unix-abstract:/tmp/openPanel.sock"
View Source
const RpcUnixListenAddress = "/tmp/openPanel.sock"
Variables ¶
View Source
var DefaultListenIp = net.IPv4zero
View Source
var QuicConfig = quic.Config{ MaxIdleTimeout: time.Minute, KeepAlivePeriod: time.Second * 30, }
Functions ¶
This section is empty.
Types ¶
type StopID ¶
type StopID string
const ( StopIDLocalSqliteDB StopID = "local_sqlite_db" StopIDLogger StopID = "log_file" StopIDCron StopID = "cron" StopIDQUICConnCache StopID = "quic_conn_cache" StopIDGRPCUnixServer StopID = "grpc_unix_server" StopIDGRPCQUICServer StopID = "grpc_quic_server" StopIDGRPCHTTPServer StopID = "grpc_web_server" )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.