Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

hedzr/cmdr-addons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmdr-addons: Addons for cmdr

Go GitHub tag (latest SemVer) FOSSA Status

see also cmdr.

NOTE
The cmdr-addons version is following cmdr's now.

Prerequisites

v1.11.17 and newer

golang 1.20+ required

v1.11.6 and newer

golang 1.17+ required

The constraints are from updating via go modules.

v1.9.8-p3 and newer

golang 1.15+ required.

Causes:

  1. golang.org/x/net/http2 used errors.Is()
  2. golang.org/x/net/http2 used os.ErrDeadlineExceeded

Updates:

  1. removed iris/v12 [import "github.com/hedzr/cmdr-addons v1.9.8-p3"]
  2. seems ci not good for go1.14

v1.9.7 and older

golang 1.13+ required.

Causes:
github.com/kataras/iris/v12@v12.1.8/core/errgroup/errgroup.go:109:9: undefined: errors.Unwrap

Workaround:
Avoid using iris codes in svr templates.

Includes:

Plugins

dex

svr

The wrapped http2 server with multiple 3rd multiplexers (echo, gin, ...).

sample app:

the example app: service

trace

  • trace: adds --trace to your root command
TODO

Others

  • svr: template codes for http/2 server (mux)
  • vxconf: helpers

Thanks to JODL

JODL (JetBrains OpenSource Development License) is good:

goland jetbrains

License

MIT

FOSSA Status