Documentation ¶
Index ¶
- func AuthHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
- func AuthStream(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) error
- func AuthUnary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
- func InitHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
- func InitStream(srv interface{}, stream grpc.ServerStream, _ *grpc.StreamServerInfo, ...) error
- func InitUnary(ctx context.Context, req interface{}, _ *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
- func LoggerHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
- func LoggerStream(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) error
- func LoggerUnary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
- func ValidatorHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
- func ValidatorStream(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) error
- func ValidatorUnary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthHTTP ¶
func AuthHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
func AuthStream ¶
func AuthStream(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func AuthUnary ¶
func AuthUnary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
func InitHTTP ¶
func InitHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
func InitStream ¶
func InitStream(srv interface{}, stream grpc.ServerStream, _ *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func InitUnary ¶
func InitUnary(ctx context.Context, req interface{}, _ *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
func LoggerHTTP ¶
func LoggerHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
func LoggerStream ¶
func LoggerStream(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func LoggerUnary ¶
func LoggerUnary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
func ValidatorHTTP ¶
func ValidatorHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
func ValidatorStream ¶
func ValidatorStream(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func ValidatorUnary ¶
func ValidatorUnary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.