diff options
author | 2021-03-02 18:26:30 +0100 | |
---|---|---|
committer | 2021-03-02 18:26:30 +0100 | |
commit | d8e8d44d4778bfd3f9e63488edc696e004edfb15 (patch) | |
tree | f5783e994de7abf968866e904741e112c124864e /internal/ap | |
parent | Messing around a bit (diff) | |
download | gotosocial-d8e8d44d4778bfd3f9e63488edc696e004edfb15.tar.xz |
start implementing db interface
Diffstat (limited to 'internal/ap')
-rw-r--r-- | internal/ap/service.go (renamed from internal/ap/api.go) | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/internal/ap/api.go b/internal/ap/service.go index 54f37a7c0..5d56f3fde 100644 --- a/internal/ap/api.go +++ b/internal/ap/service.go @@ -20,9 +20,16 @@ package ap import ( - "github.com/go-fed/activity/pub" +// "github.com/go-fed/activity/pub" ) -func main() { - pub.NewFederatingActor() +// Service is an activityPub service that uses go-fed to provide federation capabilities +type Service interface { +} + +type service struct { +} + +// NewService returns an activityPub Service +func NewService() { } |