Releases: rsocket/rsocket-go
Releases · rsocket/rsocket-go
Release v0.5.12
BugFix for ISSUE #58 : Upgrade reactor-go
to version 0.1.3.
Release v0.5.11
Support use defined error. ( ISSUE #55 )
Release v0.5.10
Now you can use Error
to deconstruct error. See example below:
package main
import (
"context"
"fmt"
"github.com/rsocket/rsocket-go"
"github.com/rsocket/rsocket-go/payload"
)
func main() {
client, _ := rsocket.Connect().Transport("tcp://127.0.0.1:7878").Start(context.Background())
_, _ = client.RequestResponse(payload.NewString("hello", "world")).
DoOnError(func(e error) {
// Deconstruct error here:
if err, ok := e.(rsocket.Error); ok {
fmt.Println("error code:", err.ErrorCode())
fmt.Println("error data:", string(err.ErrorData()))
}
}).
Block(context.Background())
}
Release v0.5.9
Fix CompositeMetadata.
Release v0.5.8
Bugfix: fix FireAndForget typo.
Release v0.5.7
Support RSocket Authentication extension.
see: https://github.com/rsocket/rsocket/blob/master/Extensions/Security/Authentication.md
Release v0.5.6
Upgrade github.com/urfave/cli
to v2.
Release v0.5.5
[BUGFIX]: cannot install rsocket-cli by 'go get github.com/rsocket/rsocket-go/cmd/rsocket-cli'. (see urfave/cli#459)
Release v0.5.4
Bugfix.
Support Websocket CORS by env.
Now you can control Websocket CORS by env below:
RSOCKET_WS_CORS=on/off