func NewAuthStore(be backend.Backend) *authStore { tx := be.BatchTx() tx.Lock() tx.UnsafeCreateBucket(authBucketName) tx.Unlock() be.ForceCommit() return &authStore{ be: be, } }