Documentation ¶
Index ¶
- func ReStart()
- func StreamAccess(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) (err error)
- func UnaryAccess(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
- func Validator(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
- type ConvertContext
- type CustomContext
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamAccess ¶
func StreamAccess(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) (err error)
func UnaryAccess ¶
func UnaryAccess( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (resp interface{}, err error)
func Validator ¶
func Validator( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (resp interface{}, err error)
Types ¶
type Server ¶
type Server struct { GRPCOptions []grpc.ServerOption GRPCHandle func(*grpc.Server) GatewayRegistr gateway.GatewayHandle GinHandle func(engine *gin.Engine) GraphqlResolve graphql.ExecutableSchema }
Directories ¶
Path | Synopsis |
---|---|
Package httprouter is a trie based high performance HTTP request router.
|
Package httprouter is a trie based high performance HTTP request router. |
Click to show internal directories.
Click to hide internal directories.