Casdoor · An Open Source UI-first Identity Access Management (IAM) / Single-Sign-On (SSO) platform supporting OAuth 2.0, OIDC, SAML and CAS
Casbin-OA is one of the Casbin web apps. It uses Casdoor for authentication. • Casbin-OA • Source code: https://github.com/casbin/casbin-oa Casnode Casnode Casnode is the official forum developed by the Casbin It uses Casdoor as the authentication platform and manages members. • Casnode • Source code: https://github.com/casbin/casnode Ar Archit chitectur ecturee Casdoor consists of two parts: Name Name UI for Casdoor JavaScript + React https://github.com/casdoor/ casdoor/tree/master/web Backend RESTful API backend for Casdoor Golang + Beego + SQL https://github.com/casdoor/ casdoor Cor Core0 码力 | 825 页 | 58.31 MB | 1 年前3Golang 101(Go语言101 中文版) v1.21.a
值和恐慌/恢 复机制。 6. 汇总了许多知识点和细节,从而可以帮助Go程序员节省很多学习时间。 有什么其它值得一提吗? 本书不涵盖自定义泛型相关内容。 请阅读《Go自定义泛型101》 (https://gfw.go101.org/generics/101.html)一书来了解使用自定义泛型。 另外,在阐述值类型转换、值赋值和值比较规则时,自定义泛型中频繁使用的类型 参数类型被特意忽略掉了。 另外也要感谢Bootstrap CSS框架(https://getbootstrap.com/docs/3.3/)、 jQuery(https://jquery.com)/code prettify (https://github.com/google/code-prettify)/prism(https://prismjs.com/) JavaSript库、go-epub(https://github.com com/bmaupin/go-epub)库和calibre (https://calibre-ebook.com/)软件的作者。 这些软件用于构建g101.org网站和 《Go语言101》电子书。 感谢Adam Chalkley对电子书制作过程提出的改进建议。 特别感谢Renee French(http://reneefrench.blogspot.com/)和Rob Pike。 本书 电子版和纸质版封面中的生动的图片来源于Rob0 码力 | 591 页 | 21.40 MB | 1 年前3Golang to the rescue - Saving DevOps from TLS turmoil
opensource.com (https://opensource.com/users/chrisshort) and DZone (https://dzone.com/users/2868764/chrisshort.html) Contributor Contributed to The Open Organization Guide to IT Culture Change (https://opensource ture-change) DevOpsDays (https://www.devopsdays.org/) Speaker and Organizer DevOps'ish (https://devopsish.com/) chrisshort.net (https://chrisshort.net) @ChrisShort (https://twitter.com/ChrisShort) Saving DevOps from TLS turmoil (https://opensource.com/article/17/4/testing-certi�cate-chains-34-line-go-program) But Most Importantly Me in Gopher Form by Gopherize.me (https://gopherize.me/) Not Too Long0 码力 | 20 页 | 6.28 MB | 1 年前3基于 mesos 的容器调度框架
appspot.com/github.com/huangnauh/slides/upone.slide#3 6/36 处理流程 Image credit: dcos architecture (https://dcos.io/docs/1.7/overview/architecture/) 2017/8/3 基于 mesos 的容器调度框架 http://go-talks.appspot.com/github com/github.com/huangnauh/slides/upone.slide#3 24/36 高可用 通过 Raft 分布式一致性协议实现高可用 hashicorp/raft (https://github.com/hashicorp/raft) 领导选举: 心跳机制来触发选举, term 充当逻辑时钟的作用 日志复制: 领导者把一条指令(能被复制状态机执行)附加到日志中,发起附加条目 Raft paper (https://raft.github.io/raft.pdf) 2017/8/3 基于 mesos 的容器调度框架 http://go-talks.appspot.com/github.com/huangnauh/slides/upone.slide#3 26/36 raft 日志复制 Image credit: the Raft paper (https://raft.github0 码力 | 36 页 | 2.49 MB | 1 年前3Best practices for building Kubernetes Operators
○ Discovery ○ json-patch/merge-patch support ○ Finalizers ○ Built-in Authz/AuthnControllers https://able8.medium.com/kubernetes-controllers-overview-b6ec086c1fbControllers ● Controller tracks at within the Kubernetes cluster, https://www.cncf.io/blog/2022/06/15/kubernetes-operators-what-are-they-some-examples/Framework - Kubebuilder/Operator-sdkCapability Model https://operatorframework.io/oper byte ○ binary ○ … ● Quantors for subschemas ○ allOf ○ oneOf ○ anyOf ○ notOpenAPI v3 schemas https://book.kubebuilder.io/reference/generating-crdValidation rules - Common Expression Language (CEL)0 码力 | 36 页 | 2.19 MB | 5 月前3Go 1.18 中的泛型
18 开始,any 是 interface{} 的一个别名 // => func Pick[S ~[]any](s S) any ← 不推荐简化到这种情况 12 https://go.dev/issue/33232#issuecomment-525489884 接口的位置 当接口作为类型参数或者具体的参数时,表达的含义不一样,这也是最可能使人困惑的地方 func 类型合一 (Unification by Substitution): - https://go.dev/ref/spec#Type_inference - https://github.com/golang/go/blob/go1.18/src/cmd/compile/internal/types2/infer.go - https://github.com/golang/go/blob/go1.1 .go 泛型的实例化通过字典和 Gcshape 模板: - https://go.dev/design/generics-implementation-dictionaries-go1.18 - https://go.dev/design/generics-implementation-gcshape 类型集的计算: - https://github.com/golang/go/blob/go10 码力 | 45 页 | 501.50 KB | 1 年前3Go性能优化概览-曹春晖
programmer should know https://colin-scott.github.io/personal_website/research/interactive_latency.html 优化的前置知识 • 要能读得懂基本的调⽤栈 • 了解 Go 语⾔内部原理(runtime,常⽤标准库) • 了解常⻅的⽹络协议(http、pb) https://github.com/bagder/http2-explained com/bagder/http2-explained https://github.com/bagder/http3-explained 逃逸分析 ⽤户声明的对象,被放在栈上还是堆上, 是由编译器的 escape analysis 来决定的 ⽅法论 内存使⽤优化 CPU 使⽤优化 阻塞优化 GC 优化 标准库优化 runtime 优化 应⽤层优化 底层优化 • 越靠近应⽤层,优化带来的效果越好 数很多,那这些 Goroutine 在⼲什么? • GC 频率,gctrace 的内容(线上保存 gctrace 的话,注意硬盘类型),GC 的 stw 时间 • Memstats 中的其它指标: https://github.com/prometheus/client_golang/blob/b89620c4916814c2960f16255c36d1b381cda9e7/ prometheus/go_collector0 码力 | 40 页 | 8.69 MB | 1 年前3Go Compile Time Instrumentation
navigation stack. I’m also founding member of the OpenTelemetry Go compile-time instrumentation project https://github.com/open-telemetry/community/blo b/main/projects/go-compile-instrumentation.mdSoftware complexity instrumentation Everything started with two proposals: - https://github.com/open-telemetry/opentelemetry-go-instrumen tation/issues/3 - https://github.com/open-telemetry/opentelemetry-go-instrumen tation/issues/2 tation/issues/2 Presented on the same GO SIG Two repos: - https://github.com/open-telemetry/opentelemetry-go-contrib/ - https://github.com/open-telemetry/opentelemetry-go-instrumen tationGo featuresGo0 码力 | 27 页 | 1.74 MB | 5 月前32.6 Go in Linux Desktop Environment
generate code swig (http://www.swig.org/Doc2.0/Go.html) go-cxxdict (https://github.com/sbinet/go-cxxdict) gir-generator (https://github.com/snyh/gir-generator) GIR: GObject Introspection repository GObject can be directly used by the Foo Language users. The first guy in Golang is nsf/gogobject (https://github.com/nsf/gogobject) the first line of README WARNING! This project is no longer maintained doesn't even compile. And it's true. There has an workable and improved version. snyh/gir-generator (https://github.com/snyh/gir-generator) GIR: How GIR does this ? They has defined a IDL which is worked0 码力 | 36 页 | 414.50 KB | 1 年前3Go on GPU
Metal -framework CoreGraphics #include "mtl.h" */ import "C" For other examples: https://github.com/go-gl/gl and https://github.com/go-gl/glfw 43 Changkun Ou. 2023. Go on GPU. GopherChina 2023. Session Metal -framework CoreGraphics #include "mtl.h" */ import "C" For other examples: https://github.com/go-gl/gl and https://github.com/go-gl/glfw However, the use of Cgo will cause more problems to solve: need of ego, and start to use assembly to pass arguments to system call directly, the project is: https://github.com/ebitengine/purego libc, err := purego.Dlopen("/usr/lib/libSystem.B.dylib", purego0 码力 | 57 页 | 4.62 MB | 1 年前3
共 92 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
相关搜索词