go-net-upnp is a new open source framework for Go and UPnP™ developers.

UPnP™ is a standard protocol for IoT, the protocols consist of other standard protocols, such as GENA, SSDP, SOAP, HTTPU and HTTP. Therefore you have to understand and implement these protocols to create UPnP™ applications.

go-net-upnp hansles these protocols automatically to support to create UPnP devices and control points quickly.


The project is released on GitHub. To use go-net-upnp in your projct, run go get as the following:

go get -u github.com/cybergarage/go-net-upnp/net/upnp


go-net-upnp provides UPnP control point and device frameworks to implement the control point and any devices.

Control Point Implementation

go-net-upnp supports UPnP control functions. The control point can search UPnP devices in the local netowrk, get the device and service descriptions. and post actions in the service:

    import (

    cp := upnp.NewControlPoint()
    err := cp.Start()
    defer cp.Stop()
    err = cp.SearchRootDevice()
    for n, dev := range cp.GetRootDevices() {

The control point can post actions in the service, and get the action response:

    service, err := dev.GetServiceByType("xxxx")
    action, err := service.GetActionByName("xxxx")
    action.SetArgumentString("xxxx", "xxxx")
    err = action.Post()
    resArg = action.GetArgumentString("xxxx")

Device Implementation

In addition to the control point functions, go-net-upnp supports UPnP device functions to implement any UPnP devices using Go.

To implement UPnP devices, prepare the UPnP device and service descriptions as the following:

    import (

    type SampleDevice struct {

    func NewSampleDevice() (*SampleDevice, error) {
        dev, err := upnp.NewDeviceFromDescription(xxxxDeviceDescription)
        service, err := dev.GetServiceByType("urn:schemas-upnp-org:service:xxxx:x")
        err = service.LoadDescriptionBytes([]byte(xxxxServiceDescription))
        sampleDev := &SampleDevice{
            Device: dev,
        return sampleDev, nil

Next, implement the control actions in the service descriptions using upnp.ActionListener as the following:

    sampleDev, err := NewSampleDevice()
    sampleDev.ActionListener = sampleDev
    func (self *SampleDevice) ActionRequestReceived(action *upnp.Action) upnp.Error {
        switch action.Name {
        case SetTarget:
            xxxx, err := action.GetArgumentString(xxxx)
            err := action.SetArgumentBool(...., ....)
            return nil
        case xxxx
        return upnp.NewErrorFromCode(upnp.ErrorOptionalActionNotImplemented)

Next Steps

To know how to implement UPnP control point or devices in more deital using go-net-upnp, please check the sample implementations in the example directory and the godoc documentation 🙂

314 thoughts on “go-net-upnp

  1. Pingback: Lincoln Georgis

  2. Pingback: Madelyn Monroe Masturbating

  3. Pingback: Lila Lovely

  4. Pingback: MILFCity

  5. Pingback: Cory Chase MILF City

  6. Pingback: premium-domain-broker

  7. Pingback: valentines gift

  8. Pingback: Click Here

  9. Pingback: Click Here

  10. Pingback: Click Here

  11. Pingback: Click Here

  12. Pingback: Click Here

  13. Pingback: Click Here

  14. Pingback: Click Here

  15. Pingback: Click Here

  16. Pingback: Click Here

  17. Pingback: Click Here

  18. Pingback: Click Here

  19. Pingback: Click Here

  20. Pingback: Click Here

  21. Pingback: Click Here

  22. Pingback: Click Here

  23. Pingback: Click Here

  24. Pingback: Click Here

  25. Pingback: Click Here

  26. Pingback: Click Here

  27. Pingback: Click Here

  28. Pingback: Click Here

  29. Pingback: no code robotics

  30. Pingback: robotics case study

  31. Pingback: Click Here

  32. Pingback: Space ROS

  33. Pingback: Click Here

  34. Pingback: Reputation Defenders

  35. Pingback: Reputation Defenders

  36. Pingback: Reputation Defenders

  37. Pingback: Reputation Defenders

  38. Pingback: Click Here

  39. Pingback: Reputation Defenders

  40. Pingback: Click Here

  41. Pingback: Click Here

  42. Pingback: Click Here

  43. Pingback: Click Here

  44. Pingback: Click Here

  45. Pingback: Click Here

  46. Pingback: Click Here

  47. Pingback: Click Here

  48. Pingback: Click Here

  49. Pingback: Click Here

  50. Pingback: Click Here

  51. Pingback: Click Here

  52. Pingback: 온라인바카라사이트

  53. Pingback: Click Here

  54. Pingback: grand rapids dentist

  55. Pingback: grand rapids teeth whitening

  56. Pingback: Click Here

  57. Pingback: grand rapids same day crowns

  58. Pingback: Click Here

  59. Pingback: Click Here

  60. Pingback: https://gquery.org/

  61. Pingback: Click Here

  62. Pingback: Click Here

  63. Pingback: Click Here

  64. Pingback: Click Here

  65. Pingback: Click Here

  66. Pingback: Click Here

  67. Pingback: Click Here

  68. Pingback: Click Here

  69. Pingback: Click Here

  70. Pingback: Click Here

  71. Pingback: Refer and Earn

  72. Pingback: Click Here

  73. Pingback: Click Here

  74. Pingback: Click Here

  75. Pingback: Click Here

  76. Pingback: Click Here

  77. Pingback: Click Here

  78. Pingback: Click Here

  79. Pingback: Click Here

  80. Pingback: Click Here

  81. Pingback: Click Here

  82. Pingback: Click Here

  83. Pingback: When do I need antibiotics buy plaquenil 200mg

  84. Pingback: 온라인 슬롯 머신

  85. Pingback: 온라인 슬롯 머신

  86. Pingback: premium-domains

  87. Pingback: buy-premium-domains

  88. Pingback: Is celery good for your liver

  89. Pingback: Is aspirin an antibiotic

  90. Pingback: How do you tell if it's really asthma

  91. Pingback: What are 5 signs of bipolar

  92. Pingback: What is the most common cause of death in heart failure Lisinopril

  93. Pingback: best book for business startup

  94. Pingback: business blogs

  95. Pingback: Do antibiotics do more harm than good Buy Stromectol 3mg tablets | StromectolMAIL

  96. Pingback: Cialis 5 mg canada pharmacy How long does it take to walk 1 mile - ScwCMD

  97. Pingback: vidalista 20 reddit fildena 100 mg amazon

  98. Pingback: Zithromax 250 mg price - What are the 3 most common parasites

  99. Pingback: Ist Kaffee gut fur die Potenz kamagra erfahrung manner

  100. Pingback: Google reviews

  101. Pingback: buy kamagra oral jelly australia

  102. Pingback: Comment on appelle le Premier-ne de la Famille pharmacie en ligne livraison gratuite

  103. Pingback: Quelle est la structure de la famille pharmacie prix pres de Radom

  104. Pingback: How long should a man take to release sperms?

  105. Pingback: Does a girl like you if she plays hard to get?

  106. Pingback: reputation defenders

  107. Pingback: where can i buy stromectol ivermectin What to avoid while on antibiotics?

  108. Pingback: How do you know if he is the right person to marry?

  109. Pingback: Can a erectile dysfunction be cured?

  110. Pingback: curso formula negócio online funciona?

  111. Pingback: Is Deming still relevant?

  112. Pingback: How can I make my wife happy at night?

  113. Pingback: What is a natural antibiotic for bacterial infection ivermectin injection for cattle

  114. Pingback: Quel vin avant de faire l'amour - viagra naturel homme.

  115. Pingback: What foods should you avoid on antibiotics where can i buy ivermectin

  116. Pingback: What do men need in a relationship cenforce 100mg brand

  117. Pingback: Can I take antibiotics before bed ivermectin horse paste

  118. Pingback: Is Carrot an antibiotic

  119. Pingback: Do antibiotics destroy human cells

  120. Pingback: 2023 Books

  121. Pingback: Is it safe to take antibiotics without doctor

  122. Pingback: Can you drink coffee with antibiotic

  123. Pingback: How do I repair my stomach after antibiotics

  124. Pingback: dying

  125. Pingback: memorial

  126. Pingback: Is amoxicillin a strong antibiotic

  127. Pingback: social security number

  128. Pingback: marriage records

  129. Pingback: Is 5 days of antibiotics enough

  130. Pingback: Is 5 days of antibiotics enough

  131. Pingback: IRA Empire

  132. Pingback: What medications should I avoid with a fatty liver stromectol online pharmacy

  133. Pingback: How many antibiotics can I take in a year

  134. Pingback: levitra professional sale

  135. Pingback: How can I reduce the side effects of antibiotics

  136. Pingback: vardenafil 20 mg tablets

  137. Pingback: viagra pills for men

  138. Pingback: Are eggs OK with antibiotics

  139. Pingback: What are the 7 main types of antibiotics

  140. Pingback: What not to eat when you have an infection

  141. Pingback: What kills bacteria inside the body

  142. Pingback: Do antibiotics affect sleep

  143. Pingback: Which antibiotic is safest for liver

  144. Pingback: Treblab - sonos speakers

  145. Pingback: What is the biggest problem with antibiotics

  146. Pingback: football betting mathematical formulas

  147. Pingback: boltune wireless earbuds

  148. Pingback: What time of day is best to start antibiotics buy stromectol 12 mg online?

  149. Pingback: What is the average size of a man order stromectol 3mg

  150. Pingback: Pourquoi s'eloigner de sa famille achat cialis paiement paypal

  151. Pingback: Chirurgie Tunisie

  152. Pingback: wireless bluetooth earbuds

  153. Pingback: National Chi Nan University

  154. Pingback: Do people with asthma have normal oxygen levels ventolin

  155. Pingback: Why is my asthma not getting better ventolin hfa

  156. Pingback: Can walking reverse heart disease what is the drug furosemide used for

  157. Pingback: What is a cheap inhaler for COPD ventolin?

  158. Pingback: Why is Zyvox so expensive | ventolin canada pharmacy

  159. Pingback: Is cardiovascular disease a death sentence generic lasix

  160. Pingback: What happens when someone goes into congestive heart failure chlorthalidone 12.5 mg brand name

  161. Pingback: madridbet

  162. Pingback: meritking

  163. Pingback: madridbet

  164. Pingback: fue scholarships

  165. Pingback: تخصصات ادارة الاعمال

  166. Pingback: ما هو افضل تخصص في ادارة الاعمال

  167. Pingback: دورات ماجستير إدارة الأعمال في مصر

  168. Pingback: Young Arab Voices

  169. Pingback: Political Science

  170. Pingback: رؤية كلية الاقتصاد والعلوم السياسية

  171. Pingback: the best postgrad study in Egypt

  172. Pingback: Department of Pharmacy Practice and Clinical Pharmacy

  173. Pingback: معدل قبول في كلية طب الفم والاسنان

  174. Pingback: Conservative Dentistry Department

  175. Pingback: What is the world ranking of Future university Egypt

  176. Pingback: exams system

  177. Pingback: ريادة الأعمال والابتكار

  178. Pingback: meritking

  179. Pingback: albuterol inhaler - Digital Health Company Introduces Smartphone-Controlled Inhaler for Asthma

  180. Pingback: digital media thecnology department

  181. Pingback: Computer Networking

  182. Pingback: future unversity in egypt news

  183. Pingback: Admission requirements for future university

  184. Pingback: رسوم دراسة ماجستير إدارة الأعمال

  185. Pingback: جراحة الأسنان التعليم

  186. Pingback: grandpashabet

  187. Pingback: خطابات توصية لجامعة المستقبل

  188. Pingback: Application fee for future university

  189. Pingback: Qui sont les 8 familles de la famille viagra generique sans ordonnance en ligne

  190. Pingback: meritking

  191. Pingback: tadalafil teva prix | Comment reconnaitre une famille dysfonctionnelle

  192. Pingback: what does levothyroxine do for the thyroid | Difficulty in staying awake or alert during daytime hours can be a symptom of thyroid deficiency-related lack of energy

  193. Pingback: meritking

  194. Pingback: What is the impact of high levels of triglycerides on heart disease risk | atorvastatin calcium 40mg tab

  195. Pingback: Can too much turmeric cause inflammation?

  196. Pingback: What should you not mix with amoxicillin?

  197. Pingback: madridbet

  198. Pingback: How do you know a man loves you deeply?

  199. Pingback: How can I recover faster from antibiotics?

  200. Pingback: Quelles sont les causes de la famille | viagra pfizer

  201. Pingback: Est-ce que la famille est une valeur | sildenafil femme

  202. Pingback: Quel surnom donne a son amant ou acheter cialis

  203. Pingback: How do you make a man feel loved vidalista 60

  204. Pingback: What is a cute text to wake up too - vidalista black 80 complaints

  205. Pingback: Why do people play hard to get | vidalista

  206. Pingback: Are there any medical conditions that can cause slow speech?

  207. Pingback: Changes in the body's ability to conserve heat in the extremities, resulting in a greater feeling of coldness in the hands and feet, can be associated with thyroid deficiency?

  208. Pingback: Can stress reduction techniques, such as mindfulness or meditation, improve female fertility?

  209. Pingback: What is the impact of hormonal birth control on long-term ovulation patterns?

  210. Pingback: Can specific stress-reducing techniques, such as mindfulness meditation or guided imagery, support female fertility treatment?

  211. Pingback: Can cholesterol levels be reduced by consuming plant sterols or stanols

  212. Pingback: Does cholesterol affect the health of the pancreas

  213. Pingback: Admission Process

  214. Pingback: How long to wait for round 2 - best viagra pills for men

  215. Pingback: كلية إدارة الأعمال في مصر

  216. Pingback: 21st Century workforce development

  217. Pingback: How do you make a man love you only - Priligy cheap car rental

  218. Pingback: Campus visits and interviews for future university

  219. Pingback: Staff Directory Faculty of economics & political science

  220. Pingback: Personal statement for future university

  221. Pingback: ما هي أهمية العلوم السياسية في الاقتصاد

  222. Pingback: خطوات التقديم بالكلية

  223. Pingback: What are the 5 liver super foods?

  224. Pingback: Orthodontic Residency Programs

  225. Pingback: Business school in Egypt

  226. Pingback: دكتور اسنان شاطر

  227. Pingback: Accredited private dental faculty

  228. Pingback: Do antibiotics raise blood pressure?

  229. Pingback: assignments

  230. Pingback: Comment se comporte une mere narcissique

  231. Pingback: public attitudes

  232. Pingback: How to wash and clean nebulizer parts | albuterol inhaler over the counter walmart

  233. Pingback: ماجستير في إدارة الأعمال في FUE

  234. Pingback: Medicinal Chemistry

  235. Pingback: Surgery is a common treatment for early-stage breast cancer - letrozole vs Nolvadex

  236. Pingback: Can mold cause a parasitic infection. duricef antibiotic prescription pill

  237. Pingback: How can you make a man want you | buy vardenafil

  238. Pingback: What kills bacteria for 24 hours | amoxicillin 500 125 mg

  239. Pingback: over the counter cialis pills - What over the counter drugs can be used for managing seasonal allergies

  240. Pingback: buy fildena in the usa - How do you stimulate a man's mind

  241. Pingback: plaquenil price without insurance - Can antibiotics make your body feel weird

  242. Pingback: What are 10 diseases caused by parasites | stromectol 3mg

  243. Pingback: Is a nebulizer better than an inhaler for asthma | albuterol

  244. Pingback: Medications and Vascular Health: Maintaining Strong Circulation - over the counter viagra at walmart

  245. Pingback: How effective is pull out method plaquenil buy online

  246. Pingback: What will make your husband love you more | cialis levitra

  247. Pingback: Why does my body keep getting infections - hydroxychloroquine 200

  248. Pingback: Why do Americans pay more for prescriptions

  249. Pingback: Can antibiotics be used for tonsillitis?

  250. Pingback: Is antibacterial body wash safe ivermectin tablets?

  251. Pingback: Should you rest while on antibiotics stromectol?

  252. Pingback: Is yogurt a probiotic?

  253. Pingback: What kills bacteria for 24 hours stromectol 12mg pills?

  254. Pingback: Do antibiotics weaken immune system long term scaly leg mite treatment ivermectin?

  255. Pingback: How many times a day does a man get hard horse wormers ivermectin?

  256. Pingback: Can antibiotics treat severe acute respiratory syndrome (SARS) stromectol 3 mg tablet?

  257. Pingback: What is the difference between probiotic yogurt and regular yogurt stromectol online brighter tomorrow?

  258. Pingback: What drugs should not be taken with amoxicillin ivermectin for lice?

  259. Pingback: https://www.kooky.domains/post/the-basics-of-web3-domains-what-you-need-to-know

  260. Pingback: https://www.kooky.domains/post/the-benefits-of-using-web3-domains

  261. Pingback: Can antibiotics be used to treat viral infections stromectol?

  262. Pingback: Academic research

  263. Pingback: Business administration and accounting

  264. Pingback: Why do antibiotics make you tired stromectol for scabies dosage?

  265. Pingback: Why is my inhaler not helping symbicort inhaler coupon 2022?

  266. Pingback: What is normal oxygen level by age?

  267. Pingback: What are the most common medications for asthma?

  268. Pingback: What conditions does albuterol sulfate treat albuterol inhaler without dr prescription?

  269. Pingback: What to know about Flovent for your asthma ventolin hfa inhailers cost?

  270. Pingback: تطوير الحياة المهنية

  271. Pingback: humana online pharmacy login?

  272. Pingback: northwestern pharmacy in canada?

  273. Pingback: Is antibacterial body wash safe?

  274. Pingback: Are antibiotics safe for diabetics Zithromax z-pak 250 mg?

  275. Pingback: Can antibiotics be used for gum infections prednisone and Azithromycin?

  276. Pingback: FCIT Programs and Courses

  277. Pingback: System Analysts

  278. Pingback: Why is my period so light??

  279. Pingback: annual welcome party

  280. Pingback: future unversity in egypt news

  281. Pingback: ماجستير في إدارة الأعمال

  282. Pingback: Who is Deming Juran and Crosby cialis walmart pharmacy??

  283. Pingback: افضل جامعة لدراسة ادارة الاعمال

  284. Pingback: How can I know if my sperm is weak??

  285. Pingback: What triggers love in a man??

  286. Pingback: Application fee for future university

  287. Pingback: How many times do men erect at night cialis from canada to usa??

  288. Pingback: What should I eat to become pregnant??

  289. Pingback: What are the top 3 causes of death in men??

  290. Pingback: What makes a man happy in a relationship??

  291. Pingback: meritking

  292. Pingback: Premature ejaculation can be a source of embarrassment for some men, but it is important to remember that it is a common problem and nothing to be ashamed of.?

  293. Pingback: It is important to take Priligy as directed by a healthcare provider and to not exceed the recommended dose.?

  294. Pingback: Maillot de football

  295. Pingback: Maillot de football

  296. Pingback: Maillot de football

  297. Pingback: Maillot de football

  298. Pingback: Maillot de football

  299. Pingback: Maillot de football

  300. Pingback: Maillot de football

  301. Pingback: Do antibiotics raise blood pressure??

  302. Pingback: Maillot de football

  303. Pingback: Maillot de football

  304. Pingback: Maillot de football

  305. Pingback: Maillot de football

  306. Pingback: Maillot de football

  307. Pingback: Maillot de football

  308. Pingback: Can antibiotics cause anxiety??

  309. Pingback: SEOSolutionVIP Fiverr

  310. Pingback: SEOSolutionVIP Fiverr

  311. Pingback: SEOSolutionVIP Fiverr

  312. Pingback: SEOSolutionVIP Fiverr

  313. Pingback: SEOSolutionVIP Fiverr

  314. Pingback: child porn