{"id":15372961,"url":"https://github.com/rs/tzsp","last_synced_at":"2025-04-15T12:32:08.687Z","repository":{"id":57515693,"uuid":"77613821","full_name":"rs/tzsp","owner":"rs","description":"TaZmen Sniffer Protocol (TZSP) parser in Go","archived":false,"fork":false,"pushed_at":"2016-12-30T00:36:43.000Z","size":10,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T21:12:31.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rs.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}},"created_at":"2016-12-29T13:24:11.000Z","updated_at":"2025-01-11T18:36:47.000Z","dependencies_parsed_at":"2022-08-30T04:20:58.904Z","dependency_job_id":null,"html_url":"https://github.com/rs/tzsp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2Ftzsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2Ftzsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2Ftzsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2Ftzsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rs","download_url":"https://codeload.github.com/rs/tzsp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072356,"owners_count":21208175,"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":[],"created_at":"2024-10-01T13:53:50.516Z","updated_at":"2025-04-15T12:32:08.444Z","avatar_url":"https://github.com/rs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TaZmen Sniffer Protocol (TZSP) Parser [![godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/rs/tzsp) [![license](http://img.shields.io/badge/license-BSD-red.svg?style=flat)](https://raw.githubusercontent.com/rs/tzsp/master/LICENSE) [![Build Status](https://travis-ci.org/rs/tzsp.svg?branch=master)](https://travis-ci.org/rs/tzsp)\n\nPackage tzsp provides a basic TaZmen Sniffer Protocol parser.\n\n## Usage\n\n```go\nconn, err := net.ListenUDP(\"udp\", addr)\nif err != nil {\n    log.Fatal(err)\n}\n\nbuf := make([]byte, 65535)\nfor {\n    l, _, err := conn.ReadFrom(buf)\n    if err != nil {\n        panic(err)\n    }\n    p, err := tzsp.Parse(buf[:l])\n    if err != nil {\n        panic(err)\n    }\n    print(p.String())\n    // Encapsulated packet data is in p.Data\n}\n```\n\n# License\n\nCopyright 2016 Olivier Poitrey. All rights reserved.\nUse of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frs%2Ftzsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frs%2Ftzsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frs%2Ftzsp/lists"}