fetcher

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: GPL-3.0 Imports: 4 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 NewClient

func NewClient(ic fetcher.MessageClient) *Client

func (*Client) GetDeletedProposalIDByIpfsID

func (c *Client) GetDeletedProposalIDByIpfsID(ctx context.Context, ipfsID string) (string, error)

func (*Client) GetUpdatedSpaceByIpfsID added in v0.5.3

func (c *Client) GetUpdatedSpaceByIpfsID(ctx context.Context, ipfsID string) (string, error)

type Data

type Data struct {
	Message Message `json:"message"`
}

type Info

type Info struct {
	Data Data `json:"data"`
}

type Message

type Message struct {
	Space    string `json:"space"`
	Proposal string `json:"proposal"`
}

Jump to

Keyboard shortcuts

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