gotosocial/internal/gtsmodel
Tobi Smethurst 742f985d5b
Mediahandler (#21)
Media GET and media PUT handlers
2021-05-10 16:29:05 +02:00
..
README.md Ap (#14) 2021-05-08 14:25:55 +02:00
account.go Mediahandler (#21) 2021-05-10 16:29:05 +02:00
activitystreams.go Ap (#14) 2021-05-08 14:25:55 +02:00
application.go Ap (#14) 2021-05-08 14:25:55 +02:00
block.go Ap (#14) 2021-05-08 14:25:55 +02:00
domainblock.go Ap (#14) 2021-05-08 14:25:55 +02:00
emaildomainblock.go Ap (#14) 2021-05-08 14:25:55 +02:00
emoji.go Ap (#14) 2021-05-08 14:25:55 +02:00
follow.go Ap (#14) 2021-05-08 14:25:55 +02:00
followrequest.go Ap (#14) 2021-05-08 14:25:55 +02:00
instance.go Webfinger + Small fixes (#20) 2021-05-09 20:34:27 +02:00
mediaattachment.go Ap (#14) 2021-05-08 14:25:55 +02:00
mention.go Ap (#14) 2021-05-08 14:25:55 +02:00
poll.go Ap (#14) 2021-05-08 14:25:55 +02:00
status.go status boosts (#16) 2021-05-08 15:16:24 +02:00
statusbookmark.go Ap (#14) 2021-05-08 14:25:55 +02:00
statusfave.go Ap (#14) 2021-05-08 14:25:55 +02:00
statusmute.go Ap (#14) 2021-05-08 14:25:55 +02:00
statuspin.go Ap (#14) 2021-05-08 14:25:55 +02:00
tag.go Ap (#14) 2021-05-08 14:25:55 +02:00
user.go Ap (#14) 2021-05-08 14:25:55 +02:00

README.md

gtsmodel

This package contains types used internally by GoToSocial and added/removed/selected from the database. As such, they contain sensitive fields which should never be serialized or reach the API level. Use the mastotypes package for that.

The annotation used on these structs is for handling them via the go-pg ORM. See here.