this repo has no description
0
fork

Configure Feed

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

at sync-tool 29 lines 887 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package ozone 4 5// schema: tools.ozone.moderation.getSubjects 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// ModerationGetSubjects_Output is the output of a tools.ozone.moderation.getSubjects call. 14type ModerationGetSubjects_Output struct { 15 Subjects []*ModerationDefs_SubjectView `json:"subjects" cborgen:"subjects"` 16} 17 18// ModerationGetSubjects calls the XRPC method "tools.ozone.moderation.getSubjects". 19func ModerationGetSubjects(ctx context.Context, c util.LexClient, subjects []string) (*ModerationGetSubjects_Output, error) { 20 var out ModerationGetSubjects_Output 21 22 params := map[string]interface{}{} 23 params["subjects"] = subjects 24 if err := c.LexDo(ctx, util.Query, "", "tools.ozone.moderation.getSubjects", params, nil, &out); err != nil { 25 return nil, err 26 } 27 28 return &out, nil 29}