users

package
v0.0.0-...-70b30f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInfo

type UserInfo struct {
	ID                string
	TeamID            string `json:"team_id"`
	Name              string
	Deleted           bool
	Status            string
	Color             string
	RealName          string `json:"real_name"`
	TZ                string
	TZLabel           string `json:"tz_label"`
	TZOffset          int    `json:"tz_offset"`
	Profile           userProfile
	IsAdmin           bool `json:"is_admin"`
	IsOwner           bool `json:"is_owner"`
	IsPrimaryOwner    bool `json:"is_primary_owner"`
	IsRestricted      bool `json:"is_restricted"`
	IsUltraRestricted bool `json:"is_ultra_restricted"`
	IsBot             bool `json:"is_bot"`
	Has2fa            bool `json:"has_2fa"`
}

func Info

func Info(id string) (UserInfo, error)

func List

func List() ([]UserInfo, error)

func (UserInfo) String

func (u UserInfo) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL