All Projects → mcuadros → Go Syslog

mcuadros / Go Syslog

Licence: mit
Syslog server library for go.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Go Syslog

Akarin
Akarin is a powerful (not yet) server software from the 'new dimension'
Stars: ✭ 332 (-8.03%)
Mutual labels:  server
Cellnet
High performance, simple, extensible golang open source network library
Stars: ✭ 3,714 (+928.81%)
Mutual labels:  server
Vespa
The open big data serving engine. https://vespa.ai
Stars: ✭ 3,747 (+937.95%)
Mutual labels:  server
Pode
Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
Stars: ✭ 329 (-8.86%)
Mutual labels:  server
Pogo
Server framework for Deno
Stars: ✭ 341 (-5.54%)
Mutual labels:  server
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (-3.6%)
Mutual labels:  server
Postgrest
REST API for any Postgres database
Stars: ✭ 18,166 (+4932.13%)
Mutual labels:  server
Aero
🚄 High-performance web server for Go.
Stars: ✭ 354 (-1.94%)
Mutual labels:  server
Hi Nginx
A fast and robust web server and application server for C++,Python,Lua ,Java,quickjs language
Stars: ✭ 346 (-4.16%)
Mutual labels:  server
Mscs
Powerful command-line control for UNIX and Linux powered Minecraft servers
Stars: ✭ 347 (-3.88%)
Mutual labels:  server
Patchwork
A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB).
Stars: ✭ 3,500 (+869.53%)
Mutual labels:  server
Nock Nock
🚪 Monitor and validate your websites to maintain maximum uptime.
Stars: ✭ 339 (-6.09%)
Mutual labels:  server
Nodejsstarterkit
Starter Kit for Node.js v14.x, minimum dependencies 🚀
Stars: ✭ 348 (-3.6%)
Mutual labels:  server
Nodepolus
NodePolus is a JavaScript library containing multiple implementations of the Among Us network protocol.
Stars: ✭ 331 (-8.31%)
Mutual labels:  server
Mirakurun
A Modern DTV Tuner Server Service for ISDB.
Stars: ✭ 352 (-2.49%)
Mutual labels:  server
Doh Server
Fast, mature, secure DoH server proxy written in Rust (doh-proxy).
Stars: ✭ 327 (-9.42%)
Mutual labels:  server
Iredmail
Full-featured, open source mail server solution for mainstream Linux/BSD distributions.
Stars: ✭ 343 (-4.99%)
Mutual labels:  server
Ngrest
Fast and easy C++ RESTful WebServices framework
Stars: ✭ 357 (-1.11%)
Mutual labels:  server
Anki Sync Server
Self-hosted Anki sync server
Stars: ✭ 352 (-2.49%)
Mutual labels:  server
Serve Handler
The foundation of `serve`
Stars: ✭ 349 (-3.32%)
Mutual labels:  server

go-syslog Build Status GoDoc GitHub release

Syslog server library for go, build easy your custom syslog server over UDP, TCP or Unix sockets using RFC3164, RFC6587 or RFC5424

Installation

The recommended way to install go-syslog

go get gopkg.in/mcuadros/go-syslog.v2

Examples

How import the package

import "gopkg.in/mcuadros/go-syslog.v2"

Example of a basic syslog UDP server:

channel := make(syslog.LogPartsChannel)
handler := syslog.NewChannelHandler(channel)

server := syslog.NewServer()
server.SetFormat(syslog.RFC5424)
server.SetHandler(handler)
server.ListenUDP("0.0.0.0:514")
server.Boot()

go func(channel syslog.LogPartsChannel) {
    for logParts := range channel {
        fmt.Println(logParts)
    }
}(channel)

server.Wait()

License

MIT, see LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].