MCPcopy
hub / github.com/Place1/wg-access-server / SQLStorage

Struct SQLStorage

internal/storage/sql.go:39–44  ·  view source on GitHub ↗

implements Storage interface

Source from the content-addressed store, hash-verified

37
38// implements Storage interface
39type SQLStorage struct {
40 Watcher
41 db *gorm.DB
42 sqlType string
43 connectionString string
44}
45
46func NewSqlStorage(u *url.URL) *SQLStorage {
47 var connectionString string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected