Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo manages storing and retrieving VCs.
func New ¶
func New(chConn clickhouse.Conn, objGetter service.ObjectGetter, bucketName, vinvcDataType string) *Repo
New creates a new instance of VCRepo.
func (*Repo) GetLatestVINVC ¶
func (r *Repo) GetLatestVINVC(ctx context.Context, vehicleTokenID uint32) (*verifiable.Credential, error)
GetLatestVINVC fetches the latest vinvc from S3.
func (*Repo) StoreVINVC ¶
StoreVINVC stores a new VC in S3.
Click to show internal directories.
Click to hide internal directories.