Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
Go
at icy/tmrrpn
123456789101112131415161718192021222324252627282930313233343536373839// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.graph.getFollow
import ( "context"
"github.com/bluesky-social/indigo/lex/util")
const ( GraphGetFollowNSID = "sh.tangled.graph.getFollow")
// GraphGetFollow_Output is the output of a sh.tangled.graph.getFollow call.type GraphGetFollow_Output struct { // uri: Uri of actor's follow record for subject. Uri string `json:"uri" cborgen:"uri"`}
// GraphGetFollow calls the XRPC method "sh.tangled.graph.getFollow".//// actor: DID of the potential follower.// subject: Followee DID to check.func GraphGetFollow(ctx context.Context, c util.LexClient, actor string, subject string) (*GraphGetFollow_Output, error) { var out GraphGetFollow_Output
params := map[string]interface{}{} params["actor"] = actor params["subject"] = subject if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.getFollow", params, nil, &out); err != nil { return nil, err }
return &out, nil}