register_paid.go raw

   1  //go:build !(js && wasm)
   2  
   3  package acl
   4  
   5  import (
   6  	"context"
   7  
   8  	"next.orly.dev/pkg/database"
   9  )
  10  
  11  func init() {
  12  	RegisterDriver("paid", "Lightning payment-gated access control", paidFactory)
  13  }
  14  
  15  func paidFactory(ctx context.Context, db database.Database, cfg *DriverConfig) (I, error) {
  16  	p := new(Paid)
  17  	return p, nil
  18  }
  19