Versions in this module Expand all Collapse all v0 v0.0.2 Sep 23, 2022 Changes in this version + type Certificate struct + Certificate_item string + Certificate_request string + Certificatetypes_Id int + Command string + Comment string + Contact string + Contact_num string + Date_creation string + Date_expiration string + Date_mod string + DnsName string + Dns_suffix string + Entities_id int + Groups_id_tech int + Id int + Is_autosign int + Is_deleted int + Is_demplate int + Is_recursive int + Locations_id int + Manufacturers_id int + Name string + Otherserial string + States_id int + Template_name string + Users_id int + Users_id_tech int + type Certificates []Certificate type GLPI + func (glpi GLPI) GetAllCertificates() (*Certificates, error) + func (glpi GLPI) GetCertificate(id int) (*Certificate, error) v0.0.1 Sep 21, 2022 Changes in this version + type Computer struct + Autoupdatesystems_id int + Comment string + Computermodels_id int + Computertypes_id int + Contact string + Contact_num string + Date_creation string + Date_mod string + Entities string + Entities_id int + Groups_id int + Groups_id_tech int + Id int + Is_deleted int + Is_dynamic int + Is_template int + Links Links + Locations_id int + Manufacturers_id int + Name string + Networks_id int + Otherserial string + Serial string + States_id int + Template_name string + Ticket_tco string + Users_id int + Users_id_tech int + Uuid string + type Computers []Computer + type CriteriaSearch struct + Field interface{} + Link string + Searchtype string + Value interface{} + type GLPI struct + Session_token string + func Init(url, apptoken, usertoken string) (*GLPI, error) + func (glpi GLPI) GetAllComputers() (*Computers, error) + func (glpi GLPI) GetComputer(id int) (*Computer, error) + func (glpi GLPI) ListSearchOptions(item Item) (map[int]SearchOption, error) + func (glpi GLPI) Search(item Item, criterias []CriteriaSearch, forcedisplays []interface{}, ...) (interface{}, int, error) + func (glpi GLPI) SearchComputers(criterias []CriteriaSearch, rangeLimit Range) ([]Computer, int, error) + func (glpi GLPI) SearchWithName(itemName string, item Item, criterias []CriteriaSearch, ...) (interface{}, int, error) + type Item interface + type Items []Item + type Link struct + Href string + Rel string + type Links []Link + type Range struct + Max int + Min int + func (rangeLimit Range) String() string + type SearchOption struct + Datatype string + Field string + Name string + Table string + Uid string