Documentation ¶
Index ¶
- Constants
- type GetGroupsResponse
- type Group
- type GroupsSet
- func (set *GroupsSet) AddGroups(groups []Group)
- func (set *GroupsSet) FindGroupByName(groupName string) (Group, error)
- func (set *GroupsSet) FindGroupsByName(groupName string) []Group
- func (set *GroupsSet) FindGroupsByNameLower(groupName string) []Group
- func (set *GroupsSet) GroupNamesSorted(withIds bool) []string
- func (set *GroupsSet) GroupsSorted() []Group
- type Navigation
Constants ¶
View Source
const ( GroupTypeTeam = "Team" ApiPathListUserGroups = "/restapi/v1.0/glip/groups" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetGroupsResponse ¶
type GetGroupsResponse struct { Records []Group `json:"records,omitempty"` }
func GetGroupsResponseFromHTTPResponse ¶
func GetGroupsResponseFromHTTPResponse(resp *http.Response) (GetGroupsResponse, error)
type Group ¶
type Group struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` CreationTime time.Time `json:"creationTime,omitempty"` LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"` Members []string `json:"members,omitempty"` }
type GroupsSet ¶
func NewGroupsSetApiRequest ¶
func (*GroupsSet) FindGroupByName ¶
func (*GroupsSet) FindGroupsByName ¶
func (*GroupsSet) FindGroupsByNameLower ¶
func (*GroupsSet) GroupNamesSorted ¶
func (*GroupsSet) GroupsSorted ¶
type Navigation ¶
type Navigation struct {}
Click to show internal directories.
Click to hide internal directories.