Documentation
¶
Index ¶
Constants ¶
View Source
const (
Version = `v0.0.3`
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataCiteClient ¶
type DataCiteClient struct { AppName string MailTo string `json:"mailto"` API string `json:"api"` RateLimitLimit int `json:"limit"` RateLimitInterval int `json:"interval"` LimtCount int `json:"limit"` Status string StatusCode int LastRequest time.Time `json:"last_request"` }
func NewDataCiteClient ¶
func NewDataCiteClient(appName string, mailTo string) (*DataCiteClient, error)
NewDataCiteClient creates a client and makes a request and returns the JSON source as a []byte or error if their is a problem.
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
dataciteapi
dataciteapi.go is a command line tool for access the DataCite API given a specific DOI.
|
dataciteapi.go is a command line tool for access the DataCite API given a specific DOI. |
Click to show internal directories.
Click to hide internal directories.