Documentation ¶
Index ¶
- func HTTPHandler(schema *graphql.Schema, middlewares ...graphql.MiddlewareFunc) http.Handler
- func HTTPHandlerWithExecutor(schema *graphql.Schema, executor graphql.ExecutorRunner, ...) http.Handler
- func IQLFun(writer http.ResponseWriter, request *http.Request)
- func NewProxyHandler(client *client2.MasterGClient) *graphqlProxyHandler
- func Token(r *http.Request) (string, error)
- func TokenRegister(ui *user.UserInfo) string
- func TokenValidate(token string) (*user.UserInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPHandler ¶
func HTTPHandlerWithExecutor ¶
func HTTPHandlerWithExecutor(schema *graphql.Schema, executor graphql.ExecutorRunner, middlewares ...graphql.MiddlewareFunc) http.Handler
func NewProxyHandler ¶
func NewProxyHandler(client *client2.MasterGClient) *graphqlProxyHandler
func TokenRegister ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.