underbbs/adapter/adapter.go

15 lines
283 B
Go
Raw Permalink Normal View History

2024-05-10 04:14:40 +00:00
package adapter
import (
. "forge.lightcrystal.systems/lightcrystal/underbbs/models"
)
type Adapter interface {
2024-05-19 20:42:28 +00:00
Init(Settings, chan SocketData) error
Name() string
2024-05-19 20:42:28 +00:00
Subscribe(string) []error
Fetch(string, []string) error
2024-06-22 16:39:02 +00:00
Do(string) error
2024-05-26 18:50:19 +00:00
DefaultSubscriptionFilter() string
2024-05-10 04:14:40 +00:00
}