Results 60 comments of Luo Peng

Hi @mvertes, sorry for replying to a closed issue. I encountered the same problem while using `map[string]interface{}` instead of `template.FuncMap`: ```diff package main import ( "bytes" "html/template" ) var str...

Hi @gedw99, thank you for the useful information! I do know NATS, but have little experience with it. As for the asynchronous specification, I've used [CloudEvents](https://cloudevents.io/), but have no idea...

Sounds great! Welcome to add the AsyncAPI document generator you expected ;) Just FYI, here are the generation methods currently used in kok: - Runtime reflection (based on [reflect](https://pkg.go.dev/reflect)) for...

Hi @gedw99, here is an attempt to add support for generating handlers for Event Subscribers #27. (Does not yet support generating AsyncAPI documentation.) > I realised after messing around with...

> Whats the transport ? I assume websockets ? The current design is meant to be generic, so there's no assumption about the transport for now. We currently use Kafka,...

As mentioned above, any transport/broker (e.g. WebSocket, Kafka, Redis or even HTTP) can use the generated handlers. As an example, [eventsvc](https://github.com/RussellLuo/kun/blob/master/examples/eventsvc/cmd/main.go) just use a simple Go program to trigger the...

In my case: - I use Tunnelblick, whose interface is `utun1` - I want to access resources from somewhere (e.g. `192.168.11.22`) via VPN Finally, I got it to work by...

Hi guys, I have just developed a Caddy v2 extension named [flagr](https://github.com/RussellLuo/caddy-ext/tree/master/flagr) a few days ago, to apply Feature Flags by leveraging Flagr. The implementation of `Local Evaluator` happened to...

[Go 1.18](https://go.dev/blog/go1.18) is released!

Hi, @kpacha Per the definition of [Canary Release](https://martinfowler.com/bliki/CanaryRelease.html): > When you are happy with the new version, you can start **routing a few selected users to it**. There are different...