Documentation
¶
Index ¶
- func ExcludeUnknownBool(unknownProps map[string]interface{}, key string) (bool, error)
- func ExcludeUnknownNullTime(unknownProps map[string]interface{}, key string) sql.NullTime
- func ExcludeUnknownString(unknownProps map[string]interface{}, key string) (string, error)
- func ExcludeUnknownTime(unknownProps map[string]interface{}, key string) (*time.Time, error)
- func ExcludeUnknownUint(unknownProps map[string]interface{}, key string) (uint, error)
- func ExcludeUnknownUuid(unknownProps map[string]interface{}, key string) (*uuid.UUID, error)
- func ExtractActorURI(withActor WithActor) (*url.URL, error)
- func ExtractAttributedTo(withAttrTo WithAttributedTo) ([]*url.URL, error)
- func ExtractName(withName WithName) string
- func ExtractObjectURI(withObject WithObject) (*url.URL, error)
- func ExtractPublished(withPublished WithPublished) time.Time
- func ExtractTo(withAttrTo WithTo) ([]*url.URL, error)
- type ShigGuests
- type VideoPropertiesUnknown
- type WithActor
- type WithAttributedTo
- type WithName
- type WithObject
- type WithPublished
- type WithTo
- type WithUnknown
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExcludeUnknownBool ¶
func ExcludeUnknownNullTime ¶
func ExcludeUnknownString ¶
func ExcludeUnknownTime ¶
func ExcludeUnknownUint ¶
func ExcludeUnknownUuid ¶
func ExtractAttributedTo ¶
func ExtractAttributedTo(withAttrTo WithAttributedTo) ([]*url.URL, error)
func ExtractName ¶
func ExtractObjectURI ¶
func ExtractObjectURI(withObject WithObject) (*url.URL, error)
func ExtractPublished ¶
func ExtractPublished(withPublished WithPublished) time.Time
Types ¶
type ShigGuests ¶
type VideoPropertiesUnknown ¶
type VideoPropertiesUnknown struct { // OriginallyPublishedAt *time.Time LatencyMode uint Uuid string State uint ShigActive bool Shig *ShigGuests ShigInstanceUrl string IsLiveBroadcast bool PermanentLive bool LiveSaveReplay bool }
func ExtractVideoUnknownProperties ¶
func ExtractVideoUnknownProperties(unknownProps map[string]interface{}) (*VideoPropertiesUnknown, error)
type WithActor ¶
type WithActor interface {
GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
}
type WithAttributedTo ¶
type WithAttributedTo interface {
GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
}
type WithName ¶
type WithName interface {
GetActivityStreamsName() vocab.ActivityStreamsNameProperty
}
type WithObject ¶
type WithObject interface {
GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
}
type WithPublished ¶
type WithPublished interface {
GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
}
type WithTo ¶
type WithTo interface {
GetActivityStreamsTo() vocab.ActivityStreamsToProperty
}
type WithUnknown ¶
type WithUnknown interface {
GetUnknownProperties() map[string]interface{}
}
Click to show internal directories.
Click to hide internal directories.