Documentation ¶
Index ¶
- func AddUser(cCtx *cli.Context, paramHost string, paramDid string, paramHandle string, ...) (id typedef.UserId, err error)
- func CreateSession(handle typedef.Handle, host string, appPass string) (*comatproto.ServerCreateSession_Output, error)
- func DoAddUser(cCtx *cli.Context) (err error)
- func ExistsUser(db *gorm.DB, did typedef.Did, host string) (exists bool, err error)
- func GetUserById(db *gorm.DB, id typedef.UserId) (userAccessSession *userrecord.UserAccessSession, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
func CreateSession(handle typedef.Handle, host string, appPass string) (*comatproto.ServerCreateSession_Output, error)
func ExistsUser ¶
func GetUserById ¶
func GetUserById(db *gorm.DB, id typedef.UserId) (userAccessSession *userrecord.UserAccessSession, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.