{"id":13837335,"url":"https://github.com/mcuadros/go-syslog","last_synced_at":"2025-04-06T09:05:54.831Z","repository":{"id":12754439,"uuid":"15427682","full_name":"mcuadros/go-syslog","owner":"mcuadros","description":"Syslog server library for go.","archived":false,"fork":false,"pushed_at":"2023-11-09T14:17:43.000Z","size":150,"stargazers_count":528,"open_issues_count":37,"forks_count":144,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-03-29T01:45:48.520Z","etag":null,"topics":["go","rfc3164","rfc5424","rfc6587","server","syslog"],"latest_commit_sha":null,"homepage":"http://godoc.org/gopkg.in/mcuadros/go-syslog.v2","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcuadros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-25T01:32:21.000Z","updated_at":"2025-03-23T10:39:07.000Z","dependencies_parsed_at":"2024-06-10T07:32:01.927Z","dependency_job_id":null,"html_url":"https://github.com/mcuadros/go-syslog","commit_stats":{"total_commits":134,"total_committers":19,"mean_commits":7.052631578947368,"dds":0.5597014925373134,"last_synced_commit":"6f9fc1a03371148d69a5c32492cc902e3f8827bd"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcuadros%2Fgo-syslog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcuadros%2Fgo-syslog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcuadros%2Fgo-syslog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcuadros%2Fgo-syslog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcuadros","download_url":"https://codeload.github.com/mcuadros/go-syslog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457798,"owners_count":20941906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","rfc3164","rfc5424","rfc6587","server","syslog"],"created_at":"2024-08-04T15:01:06.682Z","updated_at":"2025-04-06T09:05:54.811Z","avatar_url":"https://github.com/mcuadros.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"go-syslog [![Build Status](https://travis-ci.org/mcuadros/go-syslog.svg?branch=master)](https://travis-ci.org/mcuadros/go-syslog) [![GoDoc](https://godoc.org/github.com/mcuadros/go-syslog?status.svg)](https://godoc.org/gopkg.in/mcuadros/go-syslog.v2) [![GitHub release](https://img.shields.io/github/release/mcuadros/go-syslog.svg)](https://github.com/mcuadros/go-syslog/releases)\n==============================\n\nSyslog server library for go, build easy your custom syslog server over UDP, TCP or Unix sockets using RFC3164, RFC6587 or RFC5424\n\nInstallation\n------------\n\nThe recommended way to install go-syslog\n\n```\ngo get gopkg.in/mcuadros/go-syslog.v2\n```\n\nExamples\n--------\n\nHow import the package\n\n```go\nimport \"gopkg.in/mcuadros/go-syslog.v2\"\n```\n\nExample of a basic syslog [UDP server](example/basic_udp.go):\n\n```go\nchannel := make(syslog.LogPartsChannel)\nhandler := syslog.NewChannelHandler(channel)\n\nserver := syslog.NewServer()\nserver.SetFormat(syslog.RFC5424)\nserver.SetHandler(handler)\nserver.ListenUDP(\"0.0.0.0:514\")\nserver.Boot()\n\ngo func(channel syslog.LogPartsChannel) {\n    for logParts := range channel {\n        fmt.Println(logParts)\n    }\n}(channel)\n\nserver.Wait()\n```\n\nLicense\n-------\n\nMIT, see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcuadros%2Fgo-syslog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcuadros%2Fgo-syslog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcuadros%2Fgo-syslog/lists"}