Documentation ¶
Index ¶
Constants ¶
View Source
const ( ImportCommandName = "import" ImportTypeUnspecified = "unspecified" ImportTypeSpace = "space" ImportTypeProposal = "proposal" ImportTypeVote = "vote" )
View Source
const (
FetchCommandName = "fetch"
)
View Source
const FetchProposalCommandName = "fetchproposal"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgumentsDetails ¶
type FetchForSpace ¶ added in v0.5.1
type FetchForSpace struct { Sdk *snapshot.SDK Spaces *db.SpaceService Proposals *db.ProposalService Votes *db.VoteService // contains filtered or unexported fields }
func (*FetchForSpace) Execute ¶ added in v0.5.1
func (c *FetchForSpace) Execute(args Arguments) error
func (*FetchForSpace) GetArguments ¶ added in v0.5.1
func (c *FetchForSpace) GetArguments() ArgumentsDetails
func (*FetchForSpace) GetName ¶ added in v0.5.1
func (c *FetchForSpace) GetName() string
type FetchMessages ¶ added in v0.5.1
type FetchMessages struct { Messages *db.MessageService Publisher *natsclient.Publisher // contains filtered or unexported fields }
func (*FetchMessages) Execute ¶ added in v0.5.1
func (c *FetchMessages) Execute(args Arguments) error
func (*FetchMessages) GetArguments ¶ added in v0.5.1
func (c *FetchMessages) GetArguments() ArgumentsDetails
func (*FetchMessages) GetName ¶ added in v0.5.1
func (c *FetchMessages) GetName() string
type FetchProposal ¶ added in v0.6.4
type FetchProposal struct { Sdk *snapshot.SDK Spaces *db.SpaceService Proposals *db.ProposalService // contains filtered or unexported fields }
func (*FetchProposal) Execute ¶ added in v0.6.4
func (c *FetchProposal) Execute(args Arguments) error
func (*FetchProposal) GetArguments ¶ added in v0.6.4
func (c *FetchProposal) GetArguments() ArgumentsDetails
func (*FetchProposal) GetName ¶ added in v0.6.4
func (c *FetchProposal) GetName() string
type Import ¶
type Import struct { Spaces *db.SpaceService Proposals *db.ProposalService Votes *db.VoteService // contains filtered or unexported fields }
func (*Import) GetArguments ¶
func (c *Import) GetArguments() ArgumentsDetails
type ImportType ¶
type ImportType string
Click to show internal directories.
Click to hide internal directories.