MCPcopy Create free account

hub / github.com/dhax/go-base / types & classes

Types & classes53 in github.com/dhax/go-base

StructAPI
API provides application resources and handlers.
api/app/api.go:23
StructAPI
API provides admin application resources and handlers.
api/admin/api.go:28
StructAccount
Account represents an authenticated application user
auth/pwdless/account.go:15
StructAccountFilter
AccountFilter provides pagination and filtering options on accounts.
database/admAccountStore.go:35
StructAccountResource
AccountResource implements account management handler.
api/app/account.go:33
StructAccountResource
AccountResource implements account management handler.
api/admin/accounts.go:32
InterfaceAccountStore
AccountStore defines database operations for account.
api/app/account.go:24
InterfaceAccountStore
AccountStore defines database operations for account management.
api/admin/accounts.go:23
StructAccountStore
AccountStore implements database operations for account management by user.
database/accountStore.go:14
StructAdmAccountStore
AdmAccountStore implements database operations for account management by admin.
database/admAccountStore.go:23
StructAppClaims
AppClaims represent the claims parsed from JWT access token.
auth/jwt/claims.go:15
StructAuthStore
AuthStore implements database operations for account pwdlessentication.
database/authStore.go:13
InterfaceAuthStorer
AuthStorer defines database operations on accounts and tokens.
auth/pwdless/api.go:25
StructCommonClaims
auth/jwt/claims.go:9
StructContentLoginToken
ContentLoginToken defines content for login token email template.
auth/pwdless/emails.go:11
StructEmail
Email struct holds email address and recipient name.
email/mailer.go:61
StructErrResponse
ErrResponse renderer type for handling all sorts of errors.
auth/authorize/errors.go:10
StructErrResponse
ErrResponse renderer type for handling all sorts of errors.
auth/pwdless/errors.go:19
StructErrResponse
ErrResponse renderer type for handling all sorts of errors.
auth/jwt/errors.go:21
StructErrResponse
ErrResponse renderer type for handling all sorts of errors.
api/app/errors.go:11
StructErrResponse
ErrResponse renderer type for handling all sorts of errors.
api/admin/errors.go:11
StructLoginToken
LoginToken is an in-memory saved token referencing an account ID and an expiry date.
auth/pwdless/logintoken.go:15
StructLoginTokenAuth
LoginTokenAuth implements passwordless login authentication flow using temporary in-memory stored tokens.
auth/pwdless/logintoken.go:22
InterfaceMailer
email/mailer.go:20
StructMessage
Message struct holds all parts of a specific email Message.
email/mailer.go:25
StructMockAuthStore
MockAuthStore mocks AuthStorer interface.
auth/pwdless/mockAuthStore.go:6
StructMockMailer
MockMailer is a mock Mailer
email/mockMailer.go:6
StructProfile
Profile holds specific application settings linked to an Account.
models/profile.go:13
StructProfileResource
ProfileResource implements profile management handler.
api/app/profile.go:27
InterfaceProfileStore
ProfileStore defines database operations for a profile.
api/app/profile.go:21
StructProfileStore
ProfileStore implements database operations for profile management.
database/profileStore.go:12
StructRefreshClaims
RefreshClaims represents the claims parsed from JWT refresh token.
auth/jwt/claims.go:53
StructResource
Resource implements passwordless account authentication against a database.
auth/pwdless/api.go:37
StructSMTPMailer
SMTPMailer is a SMTP mailer.
email/smtp.go:9
StructServer
Server provides an http.Server.
api/server.go:15
StructStructuredLogger
StructuredLogger is a structured logrus Logger.
logging/logger.go:19
StructStructuredLoggerEntry
StructuredLoggerEntry is a logrus.FieldLogger.
logging/logger.go:87
StructToken
Token holds refresh jwt information.
auth/jwt/token.go:10
StructTokenAuth
TokenAuth implements JWT authentication flow.
auth/jwt/tokenauth.go:13
StructaccountListResponse
api/admin/accounts.go:90
StructaccountRequest
api/app/account.go:72
StructaccountRequest
api/admin/accounts.go:73
StructaccountResponse
api/app/account.go:87
StructaccountResponse
api/admin/accounts.go:81
TypeAliasctxKey
auth/jwt/authenticator.go:15
TypeAliasctxKey
api/app/api.go:15
TypeAliasctxKey
api/admin/api.go:21
StructloginRequest
auth/pwdless/api.go:87
StructprofileRequest
api/app/profile.go:60
StructprofileResponse
api/app/profile.go:69
StructtokenRequest
auth/pwdless/api.go:142
StructtokenRequest
api/app/account.go:131
StructtokenResponse
auth/pwdless/api.go:146