Documentation ¶
Overview ¶
Package postgresql defines the IssuanceChainStorage type, which implements IssuanceChainStorage interface with FindByKey and Add methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssuanceChainStorage ¶
type IssuanceChainStorage struct {
// contains filtered or unexported fields
}
IssuanceChainStorage is a PostgreSQL implementation of the IssuanceChainStorage interface.
func NewIssuanceChainStorage ¶
func NewIssuanceChainStorage(_ context.Context, dbConn string) *IssuanceChainStorage
NewIssuanceChainStorage takes the database connection string as the input and return the IssuanceChainStorage.
Click to show internal directories.
Click to hide internal directories.