common/

directory
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: Apache-2.0, BSD-3-Clause, MIT

README

Gateway Common Package

The common package is the basic package and cannot depend on other packages of this project.

convert

Tools and methods related to format conversion

errs

Error code constants and related methods that this project and third-party plug-ins rely on.

file

Related tools and methods for file operations

gwmsg

Gateway msg related methods, the same implementation as trpc-go msg.

http

Common methods related to http used by gateway core and plugins

trpc

A simple encapsulation of the trpc method, providing the ability to be rewritten by the business side.

plugin

Common methods related to plugins

Directories

Path Synopsis
Package convert some parameter conversion utility functions.
Package convert some parameter conversion utility functions.
Package errs API gateway framework error related definitions, related methods
Package errs API gateway framework error related definitions, related methods
Package gwmsg defines gateway message
Package gwmsg defines gateway message
mock
Package mock_gwmsg is a generated GoMock package.
Package mock_gwmsg is a generated GoMock package.
Package http contains utility methods related to HTTP.
Package http contains utility methods related to HTTP.
Package plugin refers to constants and common methods related to gateway plugins.
Package plugin refers to constants and common methods related to gateway plugins.

Jump to

Keyboard shortcuts

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