Skip to content

lsongdev/ssdp-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ssdp-go

simple ssdp library in golang

install

go get github.com/lsongdev/ssdp-go

example

package main

import (
  "fmt"

  "github.com/lsongdev/ssdp-go/ssdp"
)

func main() {
  client := ssdp.NewClient(&ssdp.Config{})
  responses, err := client.Search("")
  if err != nil {
    panic(err)
  }
  for _, r := range responses {
    fmt.Println(r.Type, r.USN, r.Location)
  }
}

license

This project is under MIT license.

About

SSDP in Golang

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages