Documentation
¶
Index ¶
- type Client
- func (c *Client) CountOrganizations() (int64, error)
- func (c *Client) CountPeople() (int64, error)
- func (c *Client) CountProjects() (int64, error)
- func (c *Client) EnsureOrganizationSeedIndexExists() error
- func (c *Client) EnsurePersonSeedIndexExists() error
- func (c *Client) EnsureProjectSeedIndexExists() error
- func (c *Client) GetOrganization(id string) (*models.Organization, error)
- func (c *Client) GetPerson(id string) (*models.Person, error)
- func (c *Client) GetProject(id string) (*models.Project, error)
- func (c *Client) GetUser(id string) (*models.Person, error)
- func (c *Client) GetUserByUsername(username string) (*models.Person, error)
- func (c *Client) SeedOrganization(data []byte) error
- func (c *Client) SeedPerson(data []byte) error
- func (c *Client) SeedProject(data []byte) error
- func (c *Client) SuggestOrganizations(q string) ([]models.Completion, error)
- func (c *Client) SuggestPeople(q string) ([]*models.Person, error)
- func (c *Client) SuggestProjects(q string) ([]*models.Project, error)
- func (c *Client) SuggestUsers(q string) ([]*models.Person, error)
- type Config
- type M
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 (*Client) CountOrganizations ¶ added in v1.0.56
func (*Client) CountPeople ¶ added in v1.0.56
func (*Client) CountProjects ¶ added in v1.0.56
func (*Client) EnsureOrganizationSeedIndexExists ¶ added in v1.0.56
func (*Client) EnsurePersonSeedIndexExists ¶ added in v1.0.56
func (*Client) EnsureProjectSeedIndexExists ¶ added in v1.0.56
func (*Client) GetOrganization ¶
func (c *Client) GetOrganization(id string) (*models.Organization, error)
func (*Client) GetUserByUsername ¶
func (*Client) SeedOrganization ¶ added in v1.0.56
func (*Client) SeedPerson ¶ added in v1.0.56
func (*Client) SeedProject ¶ added in v1.0.56
func (*Client) SuggestOrganizations ¶
func (c *Client) SuggestOrganizations(q string) ([]models.Completion, error)
func (*Client) SuggestProjects ¶
Click to show internal directories.
Click to hide internal directories.