A fork of go-ap/activitypub to make it easier to implement extensions
This repository has been archived on 2022-11-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2022-03-23 16:19:40 +01:00
tests Ran gofmt -s 2021-11-12 19:18:20 +01:00
.build.yml Fix CI pipeline 2022-03-19 20:30:00 +01:00
.gitignore Added .coverprofile files to gitignore 2018-04-08 23:02:50 +02:00
activity.go Using go1.18 and adding some interface types that can be used for generics 2022-03-19 20:14:56 +01:00
activity_test.go Moved the flatten functionality to this package 2021-04-03 13:43:33 +02:00
actor.go Using go1.18 and adding some interface types that can be used for generics 2022-03-19 20:14:56 +01:00
actor_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
collection.go Using go1.18 and adding some interface types that can be used for generics 2022-03-19 20:14:56 +01:00
collection_page.go Adding gob encode/decode functionality for *Collection types 2022-01-12 18:57:45 +01:00
collection_page_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
collection_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
copy.go Added Collection related copying of properties 2021-10-03 15:01:44 +02:00
decoding_gob.go Change type of Actor.Streams to be just an item collection 2022-01-28 12:47:59 +01:00
decoding_gob_test.go More lint errors fixed 2021-11-12 20:05:08 +01:00
decoding_json.go Don't fail on properties that are missing when unmarshaling json 2022-03-06 13:34:18 +01:00
decoding_json_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
encoding_gob.go Fix gob encoding the URL 2022-03-19 20:25:59 +01:00
encoding_gob_test.go More lint errors fixed 2021-11-12 20:05:08 +01:00
encoding_json.go Fix json encoding for question.anyOf 2022-03-13 11:25:30 +01:00
encoding_json_test.go Renamed internal functions used for JSON buffer write 2021-03-14 18:31:13 +01:00
flatten.go Improve Flatten function for collections and items 2022-03-23 16:19:40 +01:00
flatten_test.go Moved the flatten functionality to this package 2021-04-03 13:43:33 +02:00
go.mod Fix union types 2021-11-12 20:05:34 +01:00
helpers.go Improved documentation on some OnXXX functions 2022-03-22 11:39:01 +01:00
helpers_test.go An eventual test for a generic On[Object] function 2021-11-14 21:18:24 +01:00
intransitive_activity.go Using go1.18 and adding some interface types that can be used for generics 2022-03-19 20:14:56 +01:00
intransitive_activity_test.go Moved the flatten functionality to this package 2021-04-03 13:43:33 +02:00
iri.go Store IRIs as their underlying byte array when encoding using gob 2022-01-14 16:21:28 +01:00
iri_test.go Fix IRI.IsObject tests 2022-01-23 16:55:13 +01:00
item.go Making the activitypub.IsObject just try to type assert 2022-01-23 16:53:15 +01:00
item_collection.go Added a ItemCollection.Normalize method 2022-03-20 15:15:07 +01:00
item_collection_test.go Moved the flatten functionality to this package 2021-04-03 13:43:33 +02:00
item_test.go Fix ItemMatches function and adding some basic tests 2021-03-27 14:06:24 +01:00
LICENSE Initial commit 2017-09-11 22:45:19 +02:00
link.go Using go1.18 and adding some interface types that can be used for generics 2022-03-19 20:14:56 +01:00
link_test.go Added gob Marshal/Unmarshal for Link type 2021-12-30 19:01:15 +01:00
Makefile Fix CI pipeline 2022-03-19 20:30:00 +01:00
natural_language_values.go Adding gob encode/decode for place, profile, question, relationship, tombstone types 2022-01-13 12:22:34 +01:00
natural_language_values_test.go Be consistent in how we encode stringy types 2021-12-30 19:49:25 +01:00
object.go Fix gob encoding the URL 2022-03-19 20:25:59 +01:00
object_id.go More lint errors fixed 2021-11-12 20:05:08 +01:00
object_id_test.go Adding some marshaler functions for Object related types 2019-12-19 14:44:48 +01:00
object_test.go Fix activity type tests 2022-01-13 16:51:14 +01:00
ordered_collection.go Adding gob encode/decode functionality for *Collection types 2022-01-12 18:57:45 +01:00
ordered_collection_page.go Adding gob encode/decode functionality for *Collection types 2022-01-12 18:57:45 +01:00
ordered_collection_page_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
ordered_collection_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
place.go Improved documentation on the remaining OnXXX functions for custom objects 2022-03-22 11:47:50 +01:00
place_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
profile.go Improved documentation on the remaining OnXXX functions for custom objects 2022-03-22 11:47:50 +01:00
profile_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
question.go Adding gob encode/decode for place, profile, question, relationship, tombstone types 2022-01-13 12:22:34 +01:00
question_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
README.md Improved the readme 2021-11-12 20:21:49 +01:00
relationship.go Improved documentation on the remaining OnXXX functions for custom objects 2022-03-22 11:47:50 +01:00
relationship_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
tombstone.go Improved documentation on the remaining OnXXX functions for custom objects 2022-03-22 11:47:50 +01:00
tombstone_test.go Go fmt'ed files 2021-11-12 18:27:28 +01:00
types.go More lint errors fixed 2021-11-12 20:05:08 +01:00
validation.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
validation_test.go Added remaining tests placeholders 2019-08-21 22:33:18 +02:00

Activity Pub for Go

MIT Licensed Build Status Test Coverage Go Report Card

Basic package for using ActivityPub API in Go.

It contains types for most of the ActivityStreams vocabulary and the ActivityPub extension. They are documented accordingly with annotations from the specification.

Usage

import "github.com/go-ap/activitypub"