Update docs

This commit is contained in:
vcaesar 2017-08-03 22:43:21 +08:00
parent 21973d40fc
commit 474f19b407
4 changed files with 60 additions and 16 deletions

View File

@ -76,6 +76,8 @@
##### [GetPID](#GetPID)
##### [Pids](#Pids)
##### [PidExists](#PidExists)
##### [Process](#Process)
##### [FindName](#FindName)
### <h3 id="GetVersion">.GetVersion()</h3>
Get robotgo version
@ -657,4 +659,24 @@ func main() {
pid
#### Return:
Returns bool
Returns bool
### <h3 id="Process">.Process()</h3>
Process get the all process struct
#### Arguments:
none
#### Return:
Returns []Nps, error
### <h3 id="FindName">.FindName()</h3>
FindName find the process name by the process id
#### Arguments:
pid
#### Return:
Returns string, error

View File

@ -78,6 +78,8 @@
##### [GetPID](#GetPID)
##### [Pids](#Pids)
##### [PidExists](#PidExists)
##### [Process](#Process)
##### [FindName](#FindName)
## <h2 id="Keyboard">键盘</h2>
@ -672,4 +674,24 @@ func main() {
pid
#### 返回值:
返回 bool
返回 bool
### <h3 id="Process">.Process()</h3>
Process get the all process struct
#### 参数:
#### 返回值:
Returns []Nps, error
### <h3 id="FindName">.FindName()</h3>
FindName find the process name by the process id
#### 参数:
pid
#### 返回值:
Returns string, error

View File

@ -55,7 +55,7 @@ import (
)
const (
version string = "v0.45.0.366, Mount Qomolangma!"
version string = "v0.45.0.368, Mount Qomolangma!"
)
// GetVersion get version

26
vendor/vendor.json vendored
View File

@ -46,38 +46,38 @@
{
"checksumSHA1": "T2ThCk35wXAZGh37nrgA07199dA=",
"path": "github.com/shirou/gopsutil/cpu",
"revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
"revisionTime": "2017-07-28T02:04:42Z"
"revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
"revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "CwrO9QBCltE965zskPoNMoB3LfQ=",
"checksumSHA1": "pHTMFRgV6ZcG8/W9RSO2HRKCYkA=",
"path": "github.com/shirou/gopsutil/host",
"revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
"revisionTime": "2017-07-28T02:04:42Z"
"revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
"revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "YfGdUgCoLdHBhfG+kXczYXu/rKk=",
"path": "github.com/shirou/gopsutil/internal/common",
"revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
"revisionTime": "2017-07-28T02:04:42Z"
"revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
"revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "/VB3F8T81eg3lj/UG1bFlfkTQIc=",
"path": "github.com/shirou/gopsutil/mem",
"revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
"revisionTime": "2017-07-28T02:04:42Z"
"revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
"revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "moxD+mq0dMHnbTeFyeEHK0Iq7i8=",
"path": "github.com/shirou/gopsutil/net",
"revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
"revisionTime": "2017-07-28T02:04:42Z"
"revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
"revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "XtEB6kqfHt8cxejes+BEx49oVSc=",
"path": "github.com/shirou/gopsutil/process",
"revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
"revisionTime": "2017-07-28T02:04:42Z"
"revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
"revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "Nve7SpDmjsv6+rhkXAkfg/UQx94=",