Documentation
¶
Index ¶
Constants ¶
View Source
const (
Version = `v0.0.5`
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrossRefClient ¶
type CrossRefClient 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 NewCrossRefClient ¶
func NewCrossRefClient(appName string, mailTo string) (*CrossRefClient, error)
NewCrossRefClient creates a client and makes a request and returns the JSON source as a []byte or error if their is a problem.
func (*CrossRefClient) Types ¶
func (c *CrossRefClient) Types() (Object, error)
Types returns the list of supported types as a Object
func (*CrossRefClient) TypesJSON ¶
func (c *CrossRefClient) TypesJSON() ([]byte, error)
TypesJSON return a list of types in JSON source
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
crossrefapi
command
crossrefapi.go is a command line tool for access the CrossRef API given a specific DOI.
|
crossrefapi.go is a command line tool for access the CrossRef API given a specific DOI. |
Click to show internal directories.
Click to hide internal directories.