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-12-28 14:58:41 +01:00
tests Making the Content type be an alias for []byte 2020-08-27 16:59:27 +02: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 Adding a default case for type conversion using the reflect package 2020-07-16 21:54:46 +02:00
activity_test.go Making the Content type be an alias for []byte 2020-08-27 16:59:27 +02:00
actor.go Adding a default case for type conversion using the reflect package 2020-07-16 21:54:46 +02:00
actor_test.go Added tests placeholders 2020-04-13 12:00:26 +02:00
collection.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
collection_page.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
collection_page_test.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
collection_test.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
decoding.go Rename the item typer, as it's not strictly tied into json 2020-11-06 19:40:46 +01:00
decoding_test.go Rename the item typer, as it's not strictly tied into json 2020-11-06 19:40:46 +01:00
encoding.go Added pub.MarshalJSON function 2020-04-19 11:02:15 +02:00
encoding_test.go Added pub.MarshalJSON function 2020-04-19 11:02:15 +02:00
go.mod Updated json parser package 2020-05-15 15:20:36 +02:00
helpers.go Fix OnCollectionIntf() func when working with collection pages 2020-08-30 14:46:56 +02:00
helpers_test.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
intransitive_activity.go Adding a default case for type conversion using the reflect package 2020-07-16 21:54:46 +02:00
intransitive_activity_test.go Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
iri.go Refactored types a bit 2020-06-30 13:35:04 +02:00
iri_test.go Added convenience method to IRI to append path elements to it 2020-04-13 12:01:07 +02:00
item.go Fixed ItemEquals for objects without a type 2020-06-24 13:47:43 +02:00
item_collection.go Adding a default case for type conversion using the reflect package 2020-07-16 21:54:46 +02:00
item_collection_test.go Fix ItemCollection.Remove 2020-06-24 13:48:20 +02:00
item_test.go Fixed ItemEquals for objects without a type 2020-06-24 13:47:43 +02:00
LICENSE Initial commit 2017-09-11 22:45:19 +02:00
link.go Refactored types a bit 2020-06-30 13:35:04 +02:00
link_test.go Refactored types a bit 2020-06-30 13:35:04 +02:00
Makefile Added PHONY targets 2019-06-11 14:09:10 +02:00
natural_language_values.go Making the Content type be an alias for []byte 2020-08-27 16:59:27 +02:00
natural_language_values_test.go Making the Content type be an alias for []byte 2020-08-27 16:59:27 +02:00
object.go Uniform receiver names for MimeType methods 2020-12-28 14:58:41 +01:00
object_id.go Simplifying the object IDs 2020-03-26 19:24:44 +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 Making the Content type be an alias for []byte 2020-08-27 16:59:27 +02:00
ordered_collection.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
ordered_collection_page.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
ordered_collection_page_test.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
ordered_collection_test.go Improved reflection based type conversion for collection types 2020-08-30 16:03:34 +02:00
place.go Add extra OnPlace/OnProfile/OnRelationship/OnTombstone functions 2020-11-28 13:39:14 +01:00
place_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
profile.go Add extra OnPlace/OnProfile/OnRelationship/OnTombstone functions 2020-11-28 13:39:14 +01:00
profile_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
question.go Adding a default case for type conversion using the reflect package 2020-07-16 21:54:46 +02: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 Add extra OnPlace/OnProfile/OnRelationship/OnTombstone functions 2020-11-28 13:39:14 +01:00
relationship_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
tombstone.go Add extra OnPlace/OnProfile/OnRelationship/OnTombstone functions 2020-11-28 13:39:14 +01:00
tombstone_test.go Holy shit! Merged the activitystreams repo 2019-12-03 17:23:59 +01:00
types.go Refactored types a bit 2020-06-30 13:35:04 +02: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 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"