underbbs/adapter/adapter.go

13 lines
258 B
Go

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