GitShow/mitchellh/consulstructure
mitchellh

consulstructure

Decode Consul data into Go (Golang) structures and watch for updates

by mitchellh
Star on GitHubFork

Go

178 stars14 forks2 contributorsQuiet · 7y agoSince 2016MIT

Meet the team

See all 2 on GitHub →
mitchellh
mitchellh4 contributions

Languages

View on GitHub →
Go100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
lenny-goodell
Added checking quitCh after returning from blocking call to client.KV().ListMergedPR

This addresses issue #1. Avoids sending error on closed error channel if user has called Close() and closed their channels.

lenny-goodell · 7y ago
lenny-goodell
Go func in decoder.Run() attempts to send to error channel after decoder.Close() called.ClosedIssue

We found that this causes a when the Consul Service is stopped. This is because the go func is still connected to Consul after we call and we have closed our and channels. The still running go func attempts to send the error to the now closed channel. I think the fix is to check quitCh before sending error on line 208.

lenny-goodell · 7y ago
Structured data for AI agents

Repository: mitchellh/consulstructure. Description: Decode Consul data into Go (Golang) structures and watch for updates Stars: 178, Forks: 14. Primary language: Go. Languages: Go (100%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 7y ago. Community health: 42%. Top contributors: mitchellh.

·@ofershap

Replace github.com with gitshow.dev