Versions in this module Expand all Collapse all v0 v0.5.0 Feb 2, 2024 v0.4.0 Nov 22, 2023 Changes in this version type Entity + Value EntityValue + func (base *Entity) UnmarshalJSON(b []byte) error + type EntityValue interface type WebhookPayload + Value WebhookPayloadValue + func (base *WebhookPayload) UnmarshalJSON(b []byte) error + type WebhookPayloadValue interface type WebhookSubscription + Value WebhookSubscriptionValue + func (base *WebhookSubscription) UnmarshalJSON(b []byte) error + type WebhookSubscriptionValue interface v0.3.0 Apr 12, 2023 v0.2.0 Jul 25, 2022 Changes in this version + type FileConfig struct + Glob string + Options FileOptions + type FileOptions struct + CacheControl *string + type OAuthClient struct + Uuid string type SiteConfig + FileConfigs []FileConfig + type SiteEvent struct + Date time.Time + Event WebhookEvent + Site *Site + Uuid string + type UserWebhookInput struct + Events []WebhookEvent + Query string + Url string + type UserWebhookSubscription struct + Client *OAuthClient + Deliveries *WebhookDeliveryCursor + Events []WebhookEvent + Id int32 + Query string + Sample string + Url string + type WebhookDelivery struct + Date time.Time + Event WebhookEvent + RequestBody string + ResponseBody *string + ResponseHeaders *string + ResponseStatus *int32 + Subscription *WebhookSubscription + Uuid string + type WebhookDeliveryCursor struct + Cursor *Cursor + Results []WebhookDelivery + type WebhookEvent string + const WebhookEventSitePublished + const WebhookEventSiteUnpublished + func ParseEvents(events []string) ([]WebhookEvent, error) + type WebhookPayload struct + Date time.Time + Event WebhookEvent + Uuid string + type WebhookSubscription struct + Client *OAuthClient + Deliveries *WebhookDeliveryCursor + Events []WebhookEvent + Id int32 + Query string + Sample string + Url string + func CreateUserWebhook(client *gqlclient.Client, ctx context.Context, config UserWebhookInput) (createUserWebhook *WebhookSubscription, err error) + func DeleteUserWebhook(client *gqlclient.Client, ctx context.Context, id int32) (deleteUserWebhook *WebhookSubscription, err error) + type WebhookSubscriptionCursor struct + Cursor *Cursor + Results []WebhookSubscription + func UserWebhooks(client *gqlclient.Client, ctx context.Context) (userWebhooks *WebhookSubscriptionCursor, err error) v0.1.0 Mar 30, 2022 Changes in this version + type AccessKind string + const AccessKindRo + const AccessKindRw + type AccessScope string + const AccessScopePages + const AccessScopeProfile + const AccessScopeSites + type Cursor string + type Entity struct + CanonicalName string + Created time.Time + Id int32 + Updated time.Time + type Protocol string + const ProtocolGemini + const ProtocolHttps + func ParseProtocol(s string) (Protocol, error) + type Site struct + Created time.Time + Domain string + Id int32 + NotFound *string + Protocol Protocol + Updated time.Time + Version string + func Publish(client *gqlclient.Client, ctx context.Context, domain string, ...) (publish *Site, err error) + func Unpublish(client *gqlclient.Client, ctx context.Context, domain string, ...) (unpublish *Site, err error) + type SiteConfig struct + NotFound *string + type SiteCursor struct + Cursor *Cursor + Results []Site + func Sites(client *gqlclient.Client, ctx context.Context) (sites *SiteCursor, err error) + type User struct + Bio *string + CanonicalName string + Created time.Time + Email string + Id int32 + Location *string + Updated time.Time + Url *string + Username string + type Version struct + DeprecationDate time.Time + Major int32 + Minor int32 + Patch int32