package
5.0.2+incompatible
Repository: https://github.com/meateam/api-gateway.git
Documentation: pkg.go.dev

# Functions

NewRouter creates a new Router, and initializes clients of the quota Service with the given connection.

# Constants

ConfigCtsDest is the name of the environment variable containing the cts dest name.
ConfigTomcalDest is the name of the environment variable containing the tomcal dest name.
HeaderDestionation is the context key used to get and set the external destination.
HeaderFileID is the context key used to get fileId.
ParamApproverID is the name of the approver id param in the URL.
ParamFileID is the name of the file id param in URL.
ParamPageNum is a constant for the requested page num in the pagination.
ParamPageSize is a constant for the requested page size in the pagination.
ParamUserID is the name of the user id param in URL.
QueryGetAll is the name of the query if get for all users.

# Structs

Router is a structure that handles permission requests.
User struct.