Skip to content

Releases: rsocket/rsocket-go

Release v0.5.12

04 Jun 15:00
Compare
Choose a tag to compare
Release v0.5.12 Pre-release
Pre-release

BugFix for ISSUE #58 : Upgrade reactor-go to version 0.1.3.

Release v0.5.11

27 May 14:35
bf95e1b
Compare
Choose a tag to compare
Release v0.5.11 Pre-release
Pre-release

Support use defined error. ( ISSUE #55 )

Release v0.5.10

23 May 15:05
75d8d33
Compare
Choose a tag to compare
Release v0.5.10 Pre-release
Pre-release

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

02 May 12:28
de93b5c
Compare
Choose a tag to compare
Release v0.5.9 Pre-release
Pre-release

Fix CompositeMetadata.

Release v0.5.8

25 Apr 14:08
ff0cba6
Compare
Choose a tag to compare
Release v0.5.8 Pre-release
Pre-release

Bugfix: fix FireAndForget typo.

Release v0.5.7

15 Feb 14:18
cd5abd4
Compare
Choose a tag to compare
Release v0.5.7 Pre-release
Pre-release

Release v0.5.6

04 Feb 12:25
Compare
Choose a tag to compare
Release v0.5.6 Pre-release
Pre-release

Upgrade github.com/urfave/cli to v2.

Release v0.5.5

04 Feb 12:03
Compare
Choose a tag to compare
Release v0.5.5 Pre-release
Pre-release

[BUGFIX]: cannot install rsocket-cli by 'go get github.com/rsocket/rsocket-go/cmd/rsocket-cli'. (see urfave/cli#459)

Release v0.5.4

04 Feb 11:52
1908e7c
Compare
Choose a tag to compare
Release v0.5.4 Pre-release
Pre-release

Bugfix.

Support Websocket CORS by env.

22 Nov 06:58
Compare
Choose a tag to compare
Pre-release

Now you can control Websocket CORS by env below:

RSOCKET_WS_CORS=on/off