underbbs/adapter/adapter.go

15 lines
303 B
Go
Raw Normal View History

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
Name() string
2024-05-19 20:42:28 +00:00
Subscribe(string) []error
Fetch(string, []string) error
Do(string, map[string]string) error
2024-05-26 18:50:19 +00:00
DefaultSubscriptionFilter() string
2024-05-10 04:14:40 +00:00
}