This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / api / tangled / sitegetDomainClaim.go
976 B 31 lines
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package tangled 4 5// schema: org.tangled.temp.site.getDomainClaim 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13const ( 14 TempSiteGetDomainClaimNSID = "org.tangled.temp.site.getDomainClaim" 15) 16 17// TempSiteGetDomainClaim_Output is the output of a org.tangled.temp.site.getDomainClaim call. 18type TempSiteGetDomainClaim_Output struct { 19 // domain: The claimed domain (e.g. 'alice.sites.tangled.sh'). Absent if no active claim. 20 Domain *string `json:"domain,omitempty" cborgen:"domain,omitempty"` 21} 22 23// TempSiteGetDomainClaim calls the XRPC method "org.tangled.temp.site.getDomainClaim". 24func TempSiteGetDomainClaim(ctx context.Context, c util.LexClient) (*TempSiteGetDomainClaim_Output, error) { 25 var out TempSiteGetDomainClaim_Output 26 if err := c.LexDo(ctx, util.Query, "", "org.tangled.temp.site.getDomainClaim", nil, nil, &out); err != nil { 27 return nil, err 28 } 29 30 return &out, nil 31}