https://github.com/feather-framework/feather-push-driver-memory
A push driver for the Feather CMS Push service using an in-memory notification storage.
https://github.com/feather-framework/feather-push-driver-memory
Last synced: 5 months ago
JSON representation
A push driver for the Feather CMS Push service using an in-memory notification storage.
- Host: GitHub
- URL: https://github.com/feather-framework/feather-push-driver-memory
- Owner: feather-framework
- License: mit
- Created: 2023-11-19T13:21:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T12:22:02.000Z (about 2 years ago)
- Last Synced: 2024-04-12T00:50:41.306Z (about 2 years ago)
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Feather Push Driver Memory
A push driver for the Feather CMS Push component using an in-memory notification storage.
## Getting started
⚠️ This repository is a work in progress, things can break until it reaches v1.0.0.
Use at your own risk.
### Adding the dependency
To add a dependency on the package, declare it in your `Package.swift`:
```swift
.package(url: "https://github.com/feather-framework/feather-push-driver-memory", .upToNextMinor(from: "0.4.0")),
```
and to your application target, add `FeatherPushDriverMemory` to your dependencies:
```swift
.product(name: "FeatherPushDriverMemory", package: "feather-push-driver-memory")
```
Example `Package.swift` file with `FeatherPushDriverMemory` as a dependency:
```swift
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "my-application",
dependencies: [
.package(url: "https://github.com/feather-framework/feather-Push-driver-memory", .upToNextMinor(from: "0.4.0")),
],
targets: [
.target(name: "MyApplication", dependencies: [
.product(name: "FeatherPushDriverMemory", package: "feather-Push-driver-memory")
]),
.testTarget(name: "MyApplicationTests", dependencies: [
.target(name: "MyApplication"),
]),
]
)
```