go-res icon indicating copy to clipboard operation
go-res copied to clipboard

RES Service protocol library for Go

Results 9 go-res issues
Sort by recently updated
recently updated
newest added

## Issue In case a `res.Handler` does not contain a handler method for a given request, it should bubble up to the next best `res.Handler` match. #### Example ```golang s...

enhancement

Hi! I'm trying to create a middleware for handlers. I succeeded to create a middleware for a specific type of handler. For example: ```go func (s *service) myMiddleware(h res.CollectionHandler) res.CollectionHandler...

Is there a way to retreive the Token information within a handler? I would like to return items in a collection based on the current user and am a bit...

## Issue Add support for RES Protocol's [static resource type](https://github.com/resgateio/resgate/issues/163).

enhancement

## Issue The service package should support making call requests and getting resources and events from other RES services connected to NATS. ```go // Example of what the API might...

enhancement

Hi! Today go-res subscribe to NATS using ChanSubscribe and documentation states that only one service can provide a resource. My suggestion here is to use QueueChanSubscribe using the service name...

## Issue When there is a panic within a `With` callback, the service will currently crash. This means using `RequireValue`, which panics if the Get handler returns an error, will...

bug

## Description The goal of this MR is to use Go generics for the `DataValue` type to replace the `any` type of the `Data` field with a "concrete" type. For...

Would it be possible to use protobuf in addition to json. nats as inherent support for protocol buffers . Looks like an amazingly simple and clean system btw - well...