go-core-runtime

module
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT

README

Getting Started with Go Core Runtime

Go Reference GitHub release Licence Tests Passing

Introduction

Core library for Apimatic's Go SDK hosted on github.com/apimatic/go-core-runtime

Requirement

Go v1.18

Install the Package

Run the following command to install the package and automatically add the package to your module or .mod file:

go get "github.com/apimatic/go-core-runtime"

Or add it to the go.mod file manually as given below:

require "github.com/apimatic/go-core-runtime" v0.0.x

And run the following command to install the package automatically:

go get ./...

Package Details

HTTPS
File Name Description
Call Builder Provides the logic related to the HTTPs request. Includes building and making the request call.
File Wrapper Provides a wrapper for the file parameter to use in the HTTPs calls.
Form Data Provides handling of form parameters in the request.
HTTP Client Provides an interface for the HTTP Client to use for making the calls.
HTTP Configuration Provides configurations for the HTTP calls.
HTTP Context Provides a struct that holds request and corresponding response instances.
HTTP Headers Provides handling for headers to send with the request.
Interceptors Provides handling to intercept requests.
API Error
File Name Description
API Error Provides the error struct that is used in the endpoint calls.
Utilities
File Name Description
API Helper Provides helper methods for making the HTTP calls.

Each package contains its test files and code coverage reports as well.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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