package mysql
import "github.com/google/certificate-transparency-go/trillian/ctfe/storage/mysql"
Package mysql defines the IssuanceChainStorage type, which implements IssuanceChainStorage interface with FindByKey and Add methods.
Index ¶
Types ¶
type IssuanceChainStorage ¶
type IssuanceChainStorage struct {
// contains filtered or unexported fields
}
IssuanceChainStorage is a MySQL implementation of the IssuanceChainStorage interface.
func NewIssuanceChainStorage ¶
func NewIssuanceChainStorage(ctx context.Context, dbConn string) *IssuanceChainStorage
NewIssuanceChainStorage takes the database connection string as the input and return the IssuanceChainStorage.
func (*IssuanceChainStorage) Add ¶
Add inserts the key-value pair of issuance chain.
func (*IssuanceChainStorage) FindByKey ¶
FindByKey returns the key-value pair of issuance chain by the key.
Source Files ¶
- Version
- v1.3.1 (latest)
- Published
- Jan 15, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 4 days ago –
Tools for package owners.