2024-05-10 04:14:40 +00:00
|
|
|
package adapter
|
|
|
|
|
|
|
|
import (
|
|
|
|
. "forge.lightcrystal.systems/lightcrystal/underbbs/models"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Adapter interface {
|
2024-09-28 17:39:03 +00:00
|
|
|
Init(Settings, *chan SocketData) error
|
2024-07-07 03:13:18 +00:00
|
|
|
Name() string
|
2024-05-19 20:42:28 +00:00
|
|
|
Subscribe(string) []error
|
2024-08-03 16:52:33 +00:00
|
|
|
Fetch(string, []string) error
|
2024-11-02 01:13:21 +00:00
|
|
|
Do(string, map[string]string) error
|
2024-05-26 18:50:19 +00:00
|
|
|
DefaultSubscriptionFilter() string
|
2024-05-10 04:14:40 +00:00
|
|
|
}
|