8000 GitHub - cooler-SAI/tecalliance-link: A local web portal for quick access to TecAlliance partner links. Runs as a self-contained Go application, automatically opens in your browser, and ensures only a single instance is active.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A local web portal for quick access to TecAlliance partner links. Runs as a self-contained Go application, automatically opens in your browser, and ensures only a single instance is active.

Notifications You must be signed in to change notification settings

cooler-SAI/tecalliance-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TecAlliance Link (Go)

Go Version Go Report Card Build Status License: MIT

A Go client library for interacting with the TecAlliance Order Manager API. This library aims to provide a simple, robust, and idiomatic Go interface for accessing TecAlliance services.


Features

  • Type-Safe: Provides Go structs for API requests and responses.
  • Authentication: Handles API key authentication seamlessly.
  • Article Search: Methods for searching and retrieving article data.
  • Order Management: (Planned) Functionality for creating and managing orders.
  • Error Handling: Clear and structured error handling for API responses.

Getting Started

Prerequisites

  • Go 1.24 or later.
  • A valid TecAlliance API Key.

Installation

  1. To add the library to your project, use go get <lib name>
  2. Building source:
go build -ldflags="-H=windowsgui -s -w" -o="tecalliance-link.exe" ./cmd/app

Configuration

The client needs to be configured with your API key. It's recommended to use environment variables to keep your credentials secure.

Export your API key in your terminal:

The client will automatically pick up this environment variable.

Usage

Here is a basic example of how to initialize the client and make a request.

Contributing

Contributions are welcome! If you'd like to help improve this library, please feel free to:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature-name)
  3. Make your changes
  4. Commit your changes (git commit -m 'feat: Add some amazing feature')
  5. Push to the branch (git push origin feature/your-feature-name)
  6. Open a new Pull Request

Upon successful execution, the application will:

  1. Start a local web server on http://localhost:8095.
  2. Automatically open your default web browser to this URL.
  3. If the server is already running from a previous instance, executing go run ./cmd/app again will simply open a new browser tab to the existing server instance without starting a new one.

Please make sure your code follows the project's coding standards and includes tests for new features.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A local web portal for quick access to TecAlliance partner links. Runs as a self-contained Go application, automatically opens in your browser, and ensures only a single instance is active.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0