Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codemodus/catena
gRPC interceptor catenation.
https://github.com/codemodus/catena
Last synced: about 1 month ago
JSON representation
gRPC interceptor catenation.
- Host: GitHub
- URL: https://github.com/codemodus/catena
- Owner: codemodus
- License: mit
- Created: 2015-07-30T19:07:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-25T22:06:48.000Z (over 6 years ago)
- Last Synced: 2024-08-03T15:06:14.849Z (5 months ago)
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - catena - gRPC interceptor catenation. - ★ 7 (Web Frameworks)
- awesome-go-extra - catena - 07-30T19:07:01Z|2018-08-25T22:06:48Z| (Web Frameworks / Fail injection)
README
# catena
go get -u github.com/codemodus/catena
Package catena aides gRPC interceptor catenation.
## Usage
```go
type UnaryServerCatena
func NewUnaryServerCatena(is ...grpc.UnaryServerInterceptor) *UnaryServerCatena
func (c *UnaryServerCatena) Append(is ...grpc.UnaryServerInterceptor) *UnaryServerCatena
func (c *UnaryServerCatena) Copy(catena *UnaryServerCatena)
func (c *UnaryServerCatena) Interceptor() grpc.UnaryServerInterceptor
func (c *UnaryServerCatena) Merge(cs ...*UnaryServerCatena) *UnaryServerCatena
func (c *UnaryServerCatena) ServerOption() grpc.ServerOption
```### Setup
```go
soon...
```## More Info
## Documentation
View the [GoDoc](http://godoc.org/github.com/codemodus/catena)