underbbs/adapter/adapter.go

14 lines
283 B
Go

package adapter
import (
. "forge.lightcrystal.systems/lightcrystal/underbbs/models"
)
type Adapter interface {
Init(Settings, chan SocketData) error
Name() string
Subscribe(string) []error
Fetch(string, []string) error
Do(string) error
DefaultSubscriptionFilter() string
}