chemspell

package
v0.0.0-...-1f1f907 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package chemspell accesses the NLM ChemSpell web service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayOfxsdstring

type ArrayOfxsdstring []string

func (ArrayOfxsdstring) MarshalXML

func (a ArrayOfxsdstring) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*ArrayOfxsdstring) UnmarshalXML

func (a *ArrayOfxsdstring) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error)

type Client

type Client struct {
	HTTPClient   *http.Client
	ResponseHook func(*http.Response) *http.Response
	RequestHook  func(*http.Request) *http.Request
}

func NewClient

func NewClient() *Client

func (*Client) GetSugList

func (c *Client) GetSugList(ctx context.Context, name string, src string) (string, error)

func (*Client) Main

func (c *Client) Main(ctx context.Context, args ArrayOfxsdstring) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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