threadscli

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config.Config, version string) (*Client, error)

func (*Client) GetPost

func (c *Client) GetPost(ctx context.Context, input string) (domain.Post, error)

func (*Client) GetPostReplies

func (c *Client) GetPostReplies(ctx context.Context, input string, limit int) (domain.Page[domain.Reply], error)

func (*Client) GetProfile

func (c *Client) GetProfile(ctx context.Context, input string) (domain.Profile, error)

func (*Client) GetProfilePosts

func (c *Client) GetProfilePosts(ctx context.Context, input string, limit int) (domain.Page[domain.Post], error)

func (*Client) Info

func (c *Client) Info() provider.Info

func (*Client) SearchPosts

func (c *Client) SearchPosts(ctx context.Context, query string, limit int) (domain.Page[domain.Post], error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL