Documentation ¶
Index ¶
Constants ¶
View Source
const ( STATE_CLEANUP_INTERVAL = 30 * time.Second STATE_CLIENT_EXPIRY_DELAY = proto.HEARTBEAT_MARK_DEAD_DELAY STATE_REQUEST_EXPIRY_DELAY = 10 * time.Minute DATA_PAGE_SIZE = 10 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandContext ¶
type Config ¶
type Config struct { // The address of the homeserver to connect to for C2. Homeserver string // The username to authenticate to the HS with. Username string // The password to authenticate to the HS with. Password string // The Matrix room where administration occurs. AdminRoom string // Private key to use as identity on the pinecone network. PineconeId string // Whether to print pinecone's internal logs to stdout. LogPinecone bool // The address to listen for inbound pinecone connections on. PineconeInboundTcpAddr string // The address to listen for inbound HTTP connections on (allows pinecone over websocket and pinecone debug endpoint if enabled). PineconeInboundWebAddr string // The HTTP path of the pinecone debug endpoint on the pinecone webserver (omit to disable). PineconeDebugEndpoint string // Comma-delimeted list of static peers to connect to. PineconeUseMulticast bool // Whether to use multicast to discover pinecone peers on the local network. PineconeStaticPeers string }
Click to show internal directories.
Click to hide internal directories.