SYMBOL INDEX (113 symbols across 13 files) FILE: app.go type AppServicer (line 15) | type AppServicer interface type APIKeyGenerator (line 21) | type APIKeyGenerator interface type App (line 26) | type App struct method AddKey (line 38) | func (a *App) AddKey(key APIKey) error { method ValidateKey (line 52) | func (a *App) ValidateKey(realm, matchKey string) error { method matchKey (line 68) | func (a *App) matchKey(realm, matchKey string) (APIKey, error) { type CreateAppRequest (line 80) | type CreateAppRequest struct method Validate (line 88) | func (r CreateAppRequest) Validate() error { type UpdateAppRequest (line 116) | type UpdateAppRequest struct type AppResponse (line 123) | type AppResponse struct type APIKeyResponse (line 139) | type APIKeyResponse struct type APIKey (line 147) | type APIKey struct method Key (line 208) | func (a *APIKey) Key() string { method Ciphertext (line 213) | func (a *APIKey) Ciphertext() string { method DeactivationDate (line 218) | func (a *APIKey) DeactivationDate() time.Time { method SetDeactivationDate (line 224) | func (a *APIKey) SetDeactivationDate(t time.Time) { method SetStringAsDeactivationDate (line 230) | func (a *APIKey) SetStringAsDeactivationDate(s string) error { method validate (line 242) | func (a *APIKey) validate() error { function NewAPIKey (line 160) | func NewAPIKey(g APIKeyGenerator, ek *[32]byte, deactivation time.Time) ... function NewAPIKeyFromCipher (line 184) | func NewAPIKeyFromCipher(ciphertext string, ek *[32]byte) (APIKey, error) { FILE: app_test.go function TestApp_AddKey (line 17) | func TestApp_AddKey(t *testing.T) { function TestApp_ValidateKey (line 87) | func TestApp_ValidateKey(t *testing.T) { function TestNewAPIKey (line 184) | func TestNewAPIKey(t *testing.T) { FILE: auth.go constant AppIDHeaderKey (line 19) | AppIDHeaderKey string = "X-APP-ID" constant ApiKeyHeaderKey (line 21) | ApiKeyHeaderKey string = "X-API-KEY" constant AuthProviderHeaderKey (line 23) | AuthProviderHeaderKey string = "X-AUTH-PROVIDER" type PermissionServicer (line 27) | type PermissionServicer interface type RoleServicer (line 35) | type RoleServicer interface type AuthenticationServicer (line 51) | type AuthenticationServicer interface type AuthorizationServicer (line 87) | type AuthorizationServicer interface type TokenExchanger (line 93) | type TokenExchanger interface constant BearerTokenType (line 98) | BearerTokenType string = "Bearer" type Provider (line 103) | type Provider method String (line 113) | func (p Provider) String() string { constant UnknownProvider (line 109) | UnknownProvider Provider = iota constant Google (line 110) | Google function ParseProvider (line 123) | func ParseProvider(s string) Provider { type ProviderInfo (line 132) | type ProviderInfo struct type ProviderTokenInfo (line 141) | type ProviderTokenInfo struct type ProviderUserInfo (line 171) | type ProviderUserInfo struct type Auth (line 227) | type Auth struct type Permission (line 258) | type Permission struct method Validate (line 274) | func (p Permission) Validate() error { type CreatePermissionRequest (line 291) | type CreatePermissionRequest struct type FindPermissionRequest (line 303) | type FindPermissionRequest struct type PermissionResponse (line 313) | type PermissionResponse struct type Role (line 327) | type Role struct method Validate (line 343) | func (r Role) Validate() error { type CreateRoleRequest (line 361) | type CreateRoleRequest struct type RoleResponse (line 373) | type RoleResponse struct type AuthenticationParams (line 387) | type AuthenticationParams struct FILE: auth_test.go function TestNewProvider (line 10) | func TestNewProvider(t *testing.T) { function TestProvider_String (line 23) | func TestProvider_String(t *testing.T) { FILE: context.go type contextKey (line 11) | type contextKey constant handlerPatternKey (line 14) | handlerPatternKey contextKey = "handlerPattern" constant appContextKey (line 15) | appContextKey contextKey = "app" constant contextKeyUser (line 16) | contextKeyUser contextKey = "user" constant authParamsContextKey (line 17) | authParamsContextKey contextKey = "authParams" function NewContextWithRequestHandlerPattern (line 21) | func NewContextWithRequestHandlerPattern(ctx context.Context, pattern st... function HandlerPatternFromRequest (line 27) | func HandlerPatternFromRequest(r *http.Request) (string, error) { function RequestHandlerPatternFromContext (line 39) | func RequestHandlerPatternFromContext(ctx context.Context) (string, erro... function NewContextWithApp (line 55) | func NewContextWithApp(ctx context.Context, a *App) context.Context { function AppFromRequest (line 61) | func AppFromRequest(r *http.Request) (*App, error) { function AppFromContext (line 73) | func AppFromContext(ctx context.Context) (*App, error) { function NewContextWithUser (line 84) | func NewContextWithUser(ctx context.Context, u *User) context.Context { function UserFromRequest (line 89) | func UserFromRequest(r *http.Request) (u *User, err error) { function UserFromContext (line 101) | func UserFromContext(ctx context.Context) (*User, error) { function AuditFromRequest (line 114) | func AuditFromRequest(r *http.Request) (adt Audit, err error) { function NewContextWithAuthParams (line 137) | func NewContextWithAuthParams(ctx context.Context, ap *AuthenticationPar... function AuthParamsFromContext (line 142) | func AuthParamsFromContext(ctx context.Context) (*AuthenticationParams, ... FILE: context_test.go function TestUserFromRequest (line 18) | func TestUserFromRequest(t *testing.T) { FILE: db.go type Datastorer (line 14) | type Datastorer interface type DBTX (line 27) | type DBTX interface type PingServicer (line 34) | type PingServicer interface type PingResponse (line 39) | type PingResponse struct function NewPgxInt4 (line 44) | func NewPgxInt4(i int32) pgtype.Int4 { function NewPgxInt8 (line 52) | func NewPgxInt8(i int64) pgtype.Int8 { function NewPgxText (line 61) | func NewPgxText(s string) pgtype.Text { function NewPgxTimestampTZ (line 72) | func NewPgxTimestampTZ(t time.Time) pgtype.Timestamptz { function NewPgxDate (line 80) | func NewPgxDate(t time.Time) pgtype.Date { FILE: diygoapi.go type LoggerServicer (line 10) | type LoggerServicer interface type GenesisServicer (line 16) | type GenesisServicer interface type Audit (line 25) | type Audit struct type SimpleAudit (line 34) | type SimpleAudit struct type DeleteResponse (line 41) | type DeleteResponse struct type LoggerRequest (line 47) | type LoggerRequest struct type LoggerResponse (line 54) | type LoggerResponse struct type GenesisRequest (line 61) | type GenesisRequest struct type GenesisResponse (line 80) | type GenesisResponse struct FILE: movie.go type MovieServicer (line 13) | type MovieServicer interface type Movie (line 22) | type Movie struct method IsValid (line 34) | func (m *Movie) IsValid() error { type CreateMovieRequest (line 58) | type CreateMovieRequest struct type UpdateMovieRequest (line 68) | type UpdateMovieRequest struct type MovieResponse (line 79) | type MovieResponse struct FILE: movie_test.go function TestMovie_IsValid (line 15) | func TestMovie_IsValid(t *testing.T) { FILE: org.go type OrgServicer (line 12) | type OrgServicer interface type OrgKind (line 22) | type OrgKind struct method Validate (line 32) | func (o OrgKind) Validate() error { type Org (line 49) | type Org struct method Validate (line 63) | func (o Org) Validate() (err error) { type CreateOrgRequest (line 85) | type CreateOrgRequest struct method Validate (line 93) | func (r CreateOrgRequest) Validate() error { type UpdateOrgRequest (line 108) | type UpdateOrgRequest struct type OrgResponse (line 119) | type OrgResponse struct FILE: user.go type RegisterUserServicer (line 15) | type RegisterUserServicer interface type Person (line 28) | type Person struct method Validate (line 41) | func (p Person) Validate() (err error) { type UserResponse (line 62) | type UserResponse struct type User (line 130) | type User struct method Validate (line 194) | func (u User) Validate() error { function NewUserFromProviderInfo (line 212) | func NewUserFromProviderInfo(pi *ProviderInfo, lm language.Matcher) *User { FILE: user_test.go function TestUser_Validate (line 15) | func TestUser_Validate(t *testing.T) {