Module picoev stdlib

picoev
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
3
Imported by:
0
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

This section is empty.

Overview

picoev is a thin wrapper over picoev, which in turn is "A tiny, lightning fast event loop for network applications".

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn new

fn new(config Config) &Picoev

Structs

#struct Config

pub struct Config {
pub:
	port         int = 8080
	cb           fn (voidptr, picohttpparser.Request, mut picohttpparser.Response)
	err_cb       fn (voidptr, picohttpparser.Request, mut picohttpparser.Response, IError) = default_err_cb
	user_data    voidptr = unsafe { nil }
	timeout_secs int     = 8
	max_headers  int     = 100
}

Interfaces

This section is empty.

Enums

This section is empty.