postgres

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepository

func NewRepository(dbContext db.Context) issuercore.Repository

NewIssuerRepository creates a new instance of the IssuerRepository

Types

type Issuer

type Issuer struct {
	CommonName       string   `gorm:"primaryKey"`
	Verified         bool     `gorm:"not null;type:boolean;default:false"`
	Organization     string   `gorm:"not null;type:varchar(256);"`
	SubOrganization  string   `gorm:"not null;type:varchar(256);"`
	PublicKey        *jwk.Jwk `gorm:"embedded;embeddedPrefix:public_key_"`
	AuthType         types.IssuerAuthType
	ResolverMetadata []*id.ResolverMetadata `gorm:"foreignKey:Controller"`
}

func (*Issuer) ToCoreType

func (i *Issuer) ToCoreType() *types.Issuer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL