Documentation ¶
Index ¶
- func GetAllRivers(param models.RiversParams) ([]models.River, error)
- func GetClient() *mongo.Client
- func GetEventById(id string) (models.Event, error)
- func GetEventTokensByUser(user string) ([]models.EventHistory, error)
- func GetHostedEvents(user string) ([]models.Event, error)
- func GetProposalById(id string) (models.Proposal, error)
- func GetRiverById(id string) (models.River, error)
- func GetStewardshipTokensByUser(user string) ([]models.StewardHistory, error)
- func Init(url string) error
- func SaveEventAndProposalData(river models.River) (models.River, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRivers ¶
func GetAllRivers(param models.RiversParams) ([]models.River, error)
func GetEventTokensByUser ¶
func GetEventTokensByUser(user string) ([]models.EventHistory, error)
func GetStewardshipTokensByUser ¶
func GetStewardshipTokensByUser(user string) ([]models.StewardHistory, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.