grpc

package
v0.0.0-...-41b8ee4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2024 License: CC0-1.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventsServerStreamInterceptor

func EventsServerStreamInterceptor(srv interface{}, serverStream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error

func NewWrappedStream

func NewWrappedStream(s grpc.ServerStream) grpc.ServerStream

func ValidateToken

func ValidateToken(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error

Types

type HealthCheckService

type HealthCheckService struct{}

HealthCheckService implements grpc_health_v1.HealthServer

func (*HealthCheckService) Check

TODO add actual health checks

func (*HealthCheckService) Watch

TODO add actual health checks

type WrappedStream

type WrappedStream struct {
	grpc.ServerStream
}

func (*WrappedStream) RecvMsg

func (w *WrappedStream) RecvMsg(m interface{}) error

func (*WrappedStream) SendMsg

func (w *WrappedStream) SendMsg(m interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL