Documentation ¶
Index ¶
- type PG
- func (p *PG) AuthOrgUser(ctx context.Context, sessionToken string) (db.OrgUser, error)
- func (p *PG) CreateCostCenter(ctx context.Context, costCenterReq db.CCenterReq) (uuid.UUID, error)
- func (p *PG) CreateOnboardEmail(ctx context.Context, onboardEmailInfo db.OnboardEmailInfo) error
- func (p *PG) CreateOrgUserToken(ctx context.Context, orgUserToken db.OrgUserToken) error
- func (p *PG) DeQOnboard(ctx context.Context) (*db.OnboardInfo, error)
- func (p *PG) GetCostCenters(ctx context.Context, costCentersList db.CCentersList) ([]vetchi.CostCenter, error)
- func (p *PG) GetEmployer(ctx context.Context, clientID string) (db.Employer, error)
- func (p *PG) GetOldestUnsentEmails(ctx context.Context) ([]db.Email, error)
- func (p *PG) GetOrgUserAuth(ctx context.Context, orgUserCreds db.OrgUserCreds) (db.OrgUserAuth, error)
- func (p *PG) GetOrgUserByToken(ctx context.Context, tfaCode, tgt string) (db.OrgUser, error)
- func (p *PG) InitEmployerAndDomain(ctx context.Context, employer db.Employer, domain db.Domain) error
- func (p *PG) InitEmployerTFA(ctx context.Context, employerTFA db.EmployerTFA) error
- func (p *PG) OnboardAdmin(ctx context.Context, onboardReq db.OnboardReq) error
- func (p *PG) PruneTokens(ctx context.Context) error
- func (p *PG) UpdateEmailState(ctx context.Context, emailStateChange db.EmailStateChange) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PG ¶
type PG struct {
// contains filtered or unexported fields
}
func (*PG) AuthOrgUser ¶
func (*PG) CreateCostCenter ¶
func (*PG) CreateOnboardEmail ¶
func (*PG) CreateOrgUserToken ¶
func (*PG) DeQOnboard ¶
func (*PG) GetCostCenters ¶
func (p *PG) GetCostCenters( ctx context.Context, costCentersList db.CCentersList, ) ([]vetchi.CostCenter, error)
func (*PG) GetEmployer ¶
func (*PG) GetOldestUnsentEmails ¶
func (*PG) GetOrgUserAuth ¶
func (p *PG) GetOrgUserAuth( ctx context.Context, orgUserCreds db.OrgUserCreds, ) (db.OrgUserAuth, error)
func (*PG) GetOrgUserByToken ¶
func (*PG) InitEmployerAndDomain ¶
func (*PG) InitEmployerTFA ¶
func (*PG) OnboardAdmin ¶
func (*PG) UpdateEmailState ¶
Click to show internal directories.
Click to hide internal directories.