Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewWithGin ¶
func NewWithGin(addr string, g *gin.Engine, jwta middlewares.JwtAuthorizator) *Server
NewWithGin returns a server with preconfigured gin.
func (*Server) RegisterHandler ¶
RegisterHandler configures the handler to handle http rpcx invoke. It wraps ServiceHandler into httprouter.Handle. Add JwtAuthorizator support
Click to show internal directories.
Click to hide internal directories.