Documentation ¶ Index ¶ func NewDOAccountHandler(db *sql.DB) *pgAuth type DAOAuth Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDOAccountHandler ¶ func NewDOAccountHandler(db *sql.DB) *pgAuth Types ¶ type DAOAuth ¶ type DAOAuth interface { SaveRefreshToken(int, *rest.Token, string) rest.Err FetchTokenByAccountID(int, string) (string, rest.Err) DeleteTokenByAccountID(int, string) rest.Err } Source Files ¶ View all Source files auth.go Click to show internal directories. Click to hide internal directories.