Documentation ¶
Index ¶
- func AuthUserToGraphUser(foundUser *authPb.SavedUser) *model.User
- func GetSession(ctx context.Context, name string) *sessions.Session
- func ReadUserToGraphUser(foundUser *readPb.User) *model.User
- func SaveSession(ctx context.Context, session *sessions.Session) error
- func WriteUserToGraphUser(foundUser *writePb.NewUser) *model.User
- type HTTP
- type HTTPKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthUserToGraphUser ¶
AuthUserToGraphUser parse user object from cyber into graphql user
func GetSession ¶
GetSession returns a cached session of the given name
func ReadUserToGraphUser ¶
ReadUserToGraphUser parse user object from cyber into graphql user
func SaveSession ¶
SaveSession saves the session by writing it to the response
Types ¶
Click to show internal directories.
Click to hide internal directories.