rgm

package module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 14 Imported by: 0

README

rgm

Golang module for REST APIs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BHC added in v0.1.42

Returns a gin.HandlersChain slice loaded with mw.BasicAuthentication, mw.Abuse and h. h is the actual controller function.

func Init

func Init(opts InitOpts) error

func JHC added in v0.1.42

Returns a gin.HandlersChain slice loaded with mw.JWTAuthentication, mw.Abuse, mw.Authorization and h. h is the actual controller function.

Types

type InitOpts added in v0.2.0

type InitOpts struct {
	Environment  *string
	DisableAgent *bool
	Verbose      *bool
	Messages     []msg.Message
	AclDSFactory ds.AclDSFactory
	Acl          ds.IDataSource
}

Directories

Path Synopsis
TPS package.
TPS package.

Jump to

Keyboard shortcuts

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