underbbs/adapter/adapter.go

14 lines
303 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, map[string]string) error
DefaultSubscriptionFilter() string
}