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
2020-03-23 11:27:27 +01:00
tests Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
.build.yml Don't fail if we can't upload code coverage 2019-08-22 21:03:31 +02:00
.gitignore Added .coverprofile files to gitignore 2018-04-08 23:02:50 +02:00
activity.go Cleanup an activity's object/actor/target BCC, BTo if they're loaded as objects 2020-02-09 08:32:57 +01:00
activity_test.go Fix rebase artefact 2019-12-19 14:47:32 +01:00
actor.go Refactoring loading of collection, actor and additional object types from json byte array 2019-12-21 15:14:43 +01:00
actor_test.go Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
collection.go Change the order in which we output json fields for collections 2020-01-20 12:13:18 +01:00
collection_page.go Change the order in which we output json fields for collections 2020-01-20 12:13:18 +01:00
collection_page_test.go Added some test todos 2019-12-15 19:01:29 +01:00
collection_test.go Removed the files with aliases for collections 2019-12-19 14:45:49 +01:00
decoding.go Change the order in which we output json fields for collections 2020-01-20 12:13:18 +01:00
decoding_test.go Moving unmarshal files to decoding 2019-12-21 10:39:40 +01:00
encoding.go Use UTC when unmarshaling and marshaling timestamps 2019-12-31 08:36:59 +01:00
encoding_test.go Refactored a couple of the writeX encoding functions 2019-12-21 10:44:32 +01:00
go.mod Updated jsonparser package 2020-03-02 12:35:30 +01:00
helpers.go Added OrderedCollection to OnCollectionIntf func handling 2020-03-23 11:27:27 +01:00
helpers_test.go Renamed OnPerson to OnActor 2019-12-03 21:53:11 +01:00
intransitive_activity.go Fix misspell 2019-12-31 08:37:33 +01:00
intransitive_activity_test.go Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
iri.go Fix iri collection marshaling 2019-12-19 21:03:31 +01:00
iri_test.go Added some test todos 2019-12-15 19:01:29 +01:00
item.go Some other places where we removed Object from names of things 2019-12-05 19:16:48 +01:00
item_collection.go Refactored a couple of the writeX encoding functions 2019-12-21 10:44:32 +01:00
item_collection_test.go Added some test todos 2019-12-15 19:01:29 +01:00
item_test.go Added some test todos 2019-12-15 19:01:29 +01:00
LICENSE Initial commit 2017-09-11 22:45:19 +02:00
link.go Added proper Link Json marshaling 2019-12-22 14:08:56 +01:00
link_test.go Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
Makefile Added PHONY targets 2019-06-11 14:09:10 +02:00
natural_language_values.go Completed functionality of Object.MarshalJSON 2019-12-19 14:44:48 +01:00
natural_language_values_test.go Improvements to Object, NaturalLanguage and Source Json marshaling 2019-12-19 14:44:48 +01:00
object.go Added proper Link Json marshaling 2019-12-22 14:08:56 +01:00
object_id.go Adding some marshaler functions for Object related types 2019-12-19 14:44:48 +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 Completed functionality of Object.MarshalJSON 2019-12-19 14:44:48 +01:00
ordered_collection.go Don't use pointer receiver for Collection() method in ordered collection and ordered collection page 2020-01-21 19:38:09 +01:00
ordered_collection_page.go Don't use pointer receiver for Collection() method in ordered collection and ordered collection page 2020-01-21 19:38:09 +01:00
ordered_collection_page_test.go Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
ordered_collection_test.go Removed the files with aliases for collections 2019-12-19 14:45:49 +01:00
place.go Refactoring loading of collection, actor and additional object types from json byte array 2019-12-21 15:14:43 +01:00
place_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
profile.go Refactoring loading of collection, actor and additional object types from json byte array 2019-12-21 15:14:43 +01:00
profile_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
question.go Refactoring loading of collection, actor and additional object types from json byte array 2019-12-21 15:14:43 +01:00
question_test.go Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
README.md Removed issue #1 from the readme 2019-12-04 19:34:41 +01:00
relationship.go Refactoring loading of collection, actor and additional object types from json byte array 2019-12-21 15:14:43 +01:00
relationship_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
tombstone.go Refactoring loading of collection, actor and additional object types from json byte array 2019-12-21 15:14:43 +01:00
tombstone_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +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
xsdduration.go Completed functionality of Object.MarshalJSON 2019-12-19 14:44:48 +01:00
xsdduration_test.go Completed functionality of Object.MarshalJSON 2019-12-19 14:44:48 +01:00

Activity Pub for Go

MIT Licensed Build Status Test Coverage Go Report Card

Basic lib for using activity pub 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"