Documentation
¶
Index ¶
- type ConversationController
- type DealController
- type DealIndexer
- type FavoriteController
- type JobController
- type JobIndexer
- func (j *JobIndexer) GetAllJobs() ([]schema.Job, error)
- func (j *JobIndexer) GetAllJobsFilter(filter_field string, filter_value float64) ([]schema.Job, error)
- func (j *JobIndexer) GetAllJobsLimit(offset int, size int) ([]schema.Job, error)
- func (j *JobIndexer) GetJobs(address string) ([]schema.Job, error)
- type RatingController
- type RatingIndexer
- type SaltController
- type SkillController
- type SkillIndexer
- func (s *SkillIndexer) GetAllSkills() ([]schema.Skill, error)
- func (s *SkillIndexer) GetAllSkillsLimit(offset int, size int) ([]schema.Skill, error)
- func (s *SkillIndexer) GetPublishedSkills(address string) ([]schema.Skill, error)
- func (s *SkillIndexer) GetSkills(address string) ([]schema.Skill, error)
- type TagController
- type TransactionController
- type UserController
- type UserControllerInterface
- type WatchlistController
- type WhitelistController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConversationController ¶
type ConversationController struct {
Address string
}
func NewConversationController ¶
func NewConversationController(address string) *ConversationController
func (*ConversationController) GetConversations ¶
func (c *ConversationController) GetConversations() ([]*schema.Conversation, error)
func (*ConversationController) SetConversation ¶
func (c *ConversationController) SetConversation(conversations []*schema.Conversation) error
type DealController ¶
func NewDealController ¶
func NewDealController(recruiter_address string, creator_address string) *DealController
type DealIndexer ¶
type DealIndexer struct {
IndexName string
}
type FavoriteController ¶
type FavoriteController struct {
Address string
}
func NewFavoriteController ¶
func NewFavoriteController(address string) *FavoriteController
func (*FavoriteController) GetFavorites ¶
func (w *FavoriteController) GetFavorites() ([]*schema.Favorite, error)
type JobController ¶
func NewJobController ¶
func NewJobController(address string, slot int) *JobController
func (*JobController) DeleteJob ¶
func (j *JobController) DeleteJob() error
type JobIndexer ¶
type JobIndexer struct {
IndexName string
}
func NewJobIndexer ¶
func NewJobIndexer(index_name string) *JobIndexer
func (*JobIndexer) GetAllJobs ¶
func (j *JobIndexer) GetAllJobs() ([]schema.Job, error)
func (*JobIndexer) GetAllJobsFilter ¶
func (*JobIndexer) GetAllJobsLimit ¶
type RatingController ¶
type RatingController struct {
Address string
}
func NewRatingController ¶
func NewRatingController(address string) *RatingController
func (*RatingController) GetRating ¶
func (s *RatingController) GetRating() (string, error)
type RatingIndexer ¶
type RatingIndexer struct {
IndexName string
}
func NewRatingIndexer ¶
func NewRatingIndexer(index_name string) *RatingIndexer
type SaltController ¶
type SaltController struct {
Address string
}
func NewSaltController ¶
func NewSaltController(address string) *SaltController
func (*SaltController) DeleteSalt ¶
func (u *SaltController) DeleteSalt() error
func (*SaltController) GetSalt ¶
func (u *SaltController) GetSalt() (string, error)
type SkillController ¶
func NewSkillController ¶
func NewSkillController(address string, slot int) *SkillController
type SkillIndexer ¶
type SkillIndexer struct {
IndexName string
}
func NewSkillIndexer ¶
func NewSkillIndexer(index_name string) *SkillIndexer
func (*SkillIndexer) GetAllSkills ¶
func (s *SkillIndexer) GetAllSkills() ([]schema.Skill, error)
func (*SkillIndexer) GetAllSkillsLimit ¶
func (*SkillIndexer) GetPublishedSkills ¶
func (s *SkillIndexer) GetPublishedSkills(address string) ([]schema.Skill, error)
type TagController ¶
type TagController struct { }
func NewTagController ¶
func NewTagController() *TagController
type TransactionController ¶
type TransactionController struct {
Hash string
}
func NewTransactionController ¶
func NewTransactionController(hash string) *TransactionController
func (*TransactionController) AddTransaction ¶
func (t *TransactionController) AddTransaction(hash string) error
func (*TransactionController) GetTransaction ¶
func (t *TransactionController) GetTransaction() (string, error)
type UserController ¶
type UserController struct {
Address string
}
func NewUserController ¶
func NewUserController(address string) *UserController
type UserControllerInterface ¶
type WatchlistController ¶
type WatchlistController struct {
Address string
}
func NewWatchlistController ¶
func NewWatchlistController(address string) *WatchlistController
func (*WatchlistController) GetWatchlist ¶
func (w *WatchlistController) GetWatchlist() ([]*schema.Watchlist, error)
type WhitelistController ¶
type WhitelistController struct { }
func NewWhitelistController ¶
func NewWhitelistController() *WhitelistController
func (*WhitelistController) GetWhitelist ¶
func (w *WhitelistController) GetWhitelist() []string
Click to show internal directories.
Click to hide internal directories.