Documentation ¶
Index ¶
- Constants
- Variables
- func AccessToken(c sola.Context) error
- func Authorize(c sola.Context) error
- func AuthorizeConfirm(c sola.Context) error
- func HomePage(c sola.Context) error
- func InjectTempService(r *router.Router)
- func InjectTempService2(r *router.Router)
- func Login(c sola.Context) error
- func NotifyPostAuthCode(c sola.Context) error
- func Register(c sola.Context) error
- func Status(c sola.Context) error
- type GraphQL
- type Response
Constants ¶
View Source
const ( SUCCESS = "SUCCESS" FAIL = "FAIL" LOGOUT = "LOGOUT" )
msg of Response
Variables ¶
View Source
var ( // DefaultGraphQL POST /graphql <Need Login> DefaultGraphQL = (&GraphQL{ Schema: graphql.MustParseSchema(schema.String(), rootResolver), LoadersInitialize: loader.Initialize, }).Handler )
GraphQL
Functions ¶
func AuthorizeConfirm ¶
func AuthorizeConfirm(c sola.Context) error
AuthorizeConfirm GET /authorize_confirm
func InjectTempService2 ¶
InjectTempService2 in /tmp2 <need login>
Types ¶
type GraphQL ¶
type GraphQL struct { Schema *graphql.Schema LoadersInitialize func(*client.MicroClient) loader.Collection }
GraphQL handler
Click to show internal directories.
Click to hide internal directories.