all repos — underbbs @ 9195bba7eda7c68dc578581ace51da60a5967529

decentralized social media client

adapter/adapter.go (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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, []string) error
	DefaultSubscriptionFilter() string
}