Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
Option is a function type for configuring the Server. Option은 서버 설정을 위한 함수 타입입니다.
func WithBufferSize ¶
func WithKeepAliveTimeout ¶
WithKeepAliveTimeout sets the Keep-Alive timeout. WithKeepAliveTimeout은 Keep-Alive 타임아웃을 설정합니다.
func WithMaxConns ¶
WithMaxConns sets the maximum number of concurrent connections.
func WithPollerNum ¶
func WithReadTimeout ¶
WithReadTimeout sets the read timeout. WithReadTimeout은 읽기 타임아웃을 설정합니다.
func WithWriteTimeout ¶
WithWriteTimeout sets the write timeout. WithWriteTimeout은 쓰기 타임아웃을 설정합니다.
type Server ¶
type Server struct {
Engine *engine.Engine // The request processing engine. // 요청 처리 엔진입니다.
// contains filtered or unexported fields
}
Server is the top-level structure for the netpoll server. Server는 netpoll 서버의 최상위 구조체입니다.
Click to show internal directories.
Click to hide internal directories.