README ¶ http-go Package http-go The http package provides help to realise some call rest. Documentation Link to documentaton License The code is licensed under the permissive Apache v2.0 licence. This means you can do what you like with the software, as long as you include the required notices. Read this for a summary. Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ Package http help to realise some REST calls Index ¶ type HTTP func New(l *logrus.Logger) HTTP Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type HTTP ¶ type HTTP interface { GetBody() []byte Get(url string) (err error) GetWithHeaders(url string, headers map[string][]string) (err error) PostJSON(url string, buffer []byte) (err error) } HTTP interface of the package http func New ¶ func New(l *logrus.Logger) HTTP New create the structure Source Files ¶ View all Source files http.goutils.go Click to show internal directories. Click to hide internal directories.