Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocketConfig ¶
type SocketConfig struct { Mark uint32 `json:"mark"` TFO *bool `json:"tcpFastOpen"` TProxy string `json:"tproxy"` AcceptProxyProtocol bool `json:"acceptProxyProtocol"` TCPKeepAliveInterval int32 `json:"tcpKeepAliveInterval"` TCPKeepAliveIdle int32 `json:"tcpKeepAliveIdle"` TFOQueueLength uint32 `json:"tcpFastOpenQueueLength"` BindToDevice string `json:"bindToDevice"` RxBufSize uint64 `json:"rxBufSize"` TxBufSize uint64 `json:"txBufSize"` ForceBufSize bool `json:"forceBufSize"` }
func (*SocketConfig) Build ¶
func (c *SocketConfig) Build() (*internet.SocketConfig, error)
Build implements Buildable.
Click to show internal directories.
Click to hide internal directories.