sandeepsukhani/devp2p-example 3
Go program to connect two machines using devp2p, a p2p protocol by Ethereum
Helps with creating and restoring Bigtable backups
Mobile assisted user interface for desktop navigation and gaming
sandeepsukhani/Competitive-programming 0
Some of my solutions to competitive programming problems
A multitenant, horizontally scalable Prometheus as a Service
Decred daemon in Go (golang).
sandeepsukhani/find-max-number 0
A simple gRPC project in Go to find max number from stream of numbers
Go library for accessing the GitHub API
sandeepsukhani/go-graphql-tools 0
Generator GraphQL schema from Go-structs
starteddingwentao/GPU-lossless-compression
started time in 6 hours
startedAlecAivazis/survey
started time in 3 days
startedstenzek/duckstation
started time in 4 days
startedlemoncmd/vcc
started time in 5 days
startedopen-telemetry/opentelemetry-lambda-extension
started time in 5 days
startedPSeitz/lz4_flex
started time in 5 days
startedrxhanson/Rectangle
started time in 6 days
startedourownstory/neural_prophet
started time in 6 days
startedmas-cli/mas
started time in 7 days
fork FiloSottile/homebrew-cask
🍻 A CLI workflow for the administration of macOS applications distributed as binaries
fork in 7 days
fork FiloSottile/homebrew-cask-1
🍻 A CLI workflow for the administration of macOS applications distributed as binaries
fork in 7 days
fork FiloSottile/homebrew-cask
🍻 A CLI workflow for the administration of macOS applications distributed as binaries
fork in 7 days
startedgithub/renaming
started time in 10 days
startedgyf304/vmcli
started time in 11 days
startedevansm7/vftool
started time in 11 days
startedbrianvoe/gofakeit
started time in 11 days
startedmingrammer/flog
started time in 11 days
push eventgrafana/loki-client-go
commit sha b792e85828cd31c4fea71a3fd404c58f9ea39193
Add optional support for json payload. Although snappy should be prefered. Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
commit sha 31d003cbd43541d616944a05652b37df0d04ab29
test with path Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
commit sha 082fa791cc1a0f6e45e4ad9c4c72ae9322b6ba5e
Review feedback on headers. Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
commit sha 6057f29bbf5b64c66d0717c994d0c8e69c6b73d2
Merge pull request #3 from grafana/json-option Add optional json payload encoding.
push time in 12 days
Pull request review commentgrafana/loki-client-go
Add optional json payload encoding.
func createServerHandler(receivedReqsChan chan receivedReq, status int) http.Han rw.WriteHeader(status) }) }++type roundTripFunc func(r *http.Request) (*http.Response, error)++func (s roundTripFunc) RoundTrip(r *http.Request) (*http.Response, error) {+ return s(r)+}++func TestClient_EncodeJSON(t *testing.T) {+ c, err := NewWithDefault("http://loki.com/loki/api/v1/push")+ require.NoError(t, err)+ c.cfg.EncodeJson = true++ c.client.Transport = roundTripFunc(func(r *http.Request) (*http.Response, error) {+ require.Equal(t, r.Header["Content-Type"][0], JSONContentType)
Yes we can !
comment created time in 12 days
push eventgrafana/loki-client-go
commit sha 082fa791cc1a0f6e45e4ad9c4c72ae9322b6ba5e
Review feedback on headers. Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
push time in 12 days
Pull request review commentgrafana/loki-client-go
Add optional json payload encoding.
func createServerHandler(receivedReqsChan chan receivedReq, status int) http.Han rw.WriteHeader(status) }) }++type roundTripFunc func(r *http.Request) (*http.Response, error)++func (s roundTripFunc) RoundTrip(r *http.Request) (*http.Response, error) {+ return s(r)+}++func TestClient_EncodeJSON(t *testing.T) {+ c, err := NewWithDefault("http://loki.com/loki/api/v1/push")+ require.NoError(t, err)+ c.cfg.EncodeJson = true++ c.client.Transport = roundTripFunc(func(r *http.Request) (*http.Response, error) {+ require.Equal(t, r.Header["Content-Type"][0], JSONContentType)
we can replace it with r.Header.Get("Content-Type")
!
comment created time in 12 days
startedmathworks/thingspeak-arduino
started time in 12 days
push eventgrafana/loki-client-go
commit sha 25b14cbd1e8a58d6176edc3221bec68727509b5e
Add default config and client constructor. The idea is to make it super simple and fast to get started. Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
commit sha 2640da12f7d1a14765de4098f8e2aa27c116b6e6
Merge pull request #2 from grafana/default-config Add default config and client constructor.
push time in 12 days
PR merged grafana/loki-client-go
The idea is to make it super simple and fast to get started.
Signed-off-by: Cyril Tovena cyril.tovena@gmail.com
pr closed time in 12 days
startedgrafana/loki-client-go
started time in 12 days