rest

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppChiRouter

type AppChiRouter struct {
	// contains filtered or unexported fields
}

func NewAppRouter added in v0.0.18

func NewAppRouter(opts ...Option) (*AppChiRouter, error)

func (*AppChiRouter) GetRouter

func (cr *AppChiRouter) GetRouter() http.Handler

type AppRouterOptions added in v0.0.18

type AppRouterOptions struct {
	Conf            *config.Config
	Logger          logger.Logger
	JWTHelper       *helper.JWTHelper
	JWTHTTPHelper   *helper.JWTHTTPHelper
	AuthHelper      auth.Helper
	Health          *health.Health
	Healthz         libhttp.HealthzFunc
	Readyz          libhttp.ReadyzFunc
	AuthAuditFacade facade.AuthAuditFacade
	DataAuditFacade facade.DataAuditFacade
}

func (*AppRouterOptions) Validate added in v0.0.18

func (aro *AppRouterOptions) Validate() error

type Option added in v0.0.18

type Option func(options *AppRouterOptions)

func WithAuthAuditFacade added in v0.0.18

func WithAuthAuditFacade(authAuditFacade facade.AuthAuditFacade) Option

func WithAuthHelper added in v0.0.18

func WithAuthHelper(helper auth.Helper) Option

func WithConfig added in v0.0.18

func WithConfig(conf *config.Config) Option

func WithDataAuditFacade added in v0.0.18

func WithDataAuditFacade(dataAuditFacade facade.DataAuditFacade) Option

func WithHealth added in v0.0.18

func WithHealth(healthInst *health.Health) Option

func WithHealthz added in v0.0.18

func WithHealthz(healthz libhttp.HealthzFunc) Option

func WithJwtHTTPHelper added in v0.0.18

func WithJwtHTTPHelper(helper *helper.JWTHTTPHelper) Option

func WithJwtHelper added in v0.0.18

func WithJwtHelper(helper *helper.JWTHelper) Option

func WithLogger added in v0.0.18

func WithLogger(logger logger.Logger) Option

func WithReadyz added in v0.0.18

func WithReadyz(readyz libhttp.ReadyzFunc) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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