package
1.1.4
Repository: https://github.com/mono83/xray.git
Documentation: pkg.go.dev

# Functions

NewWriterToXRayLog constructs new writer (experimental), that stores data into MySQL table created in following format: CREATE TABLE `xrayLog` ( `id` bigint(11) unsigned NOT NULL AUTO_INCREMENT, `time` int(10) unsigned NOT NULL, `rayId` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `level` enum('error','alert','crititcal') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'error', `pattern` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `message` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;.