KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
objecthash-proto
★ 89
Open GitHub ↗
ObjectHash for protocol buffers
Download README (.md)
Explore Similar Repositories
parquet-testing
:
Apache Parquet Testing
terraform-k8s-hcloud
:
A simple project to spin your k8s cluster with terraform, kubeadm on hcloud
Guardian
:
Service Side Swift:Vapor 3 based API Guardian Middleware. 🦁
spring-boot-demo
:
spring boot demo 是一个用来学习 spring boot 的项目,总共包含 47 个集成demo,已经完成 36 个。包含集成 actuator(监控)、admin(可视化监控)、logback(日志)、aopLog(通过AOP记录web请求日志)、统一异常处理(json级别和页面级别)、freemarker(模板引擎)、thymeleaf(模板引擎)、Beetl(模板引擎)、Enjoy(模板引擎)、JdbcTemplate、JPA(ORM框架)、mybatis(ORM框架)、通用Mapper、PageHelper、mybatis-plus、BeetlSQL、upload(本地文件上传和七牛云文件上传)、redis(缓存)、ehcache(缓存)、email(发送各种类型邮件)、task(基础定时任务)、quartz(动态管理定时任务)、swagger(API接口管理测试)、security(基于RBAC的动态权限认证)、Session共享、Zookeeper(结合AOP实现分布式锁)、websocket(服务端推送监控服务器运行信息)、socket.io(聊天室)、ureport2(中国式报表)、打包成war文件、集成 ElasticSearch(基本操作和高级查询)、集成Dubbo(采用官方的starter)、neo4j(图数据库)、docker(容器化)。
promql_java_client
:
java client for prometheus http api
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
objecthash-proto
?
Download (.md)
# ObjectHash-Proto [](https://travis-ci.org/deepmind/objecthash-proto) [](https://goreportcard.com/report/github.com/deepmind/objecthash-proto) [](https://godoc.org/github.com/deepmind/objecthash-proto) The library is an implementation of [Ben Laurie's ObjectHash](https://github.com/benlaurie/objecthash) for protocol buffers. This implementation is still experimental and until it is stable, protobuf messages are not guaranteed to result in the same value. ## Usage Get a new `ProtoHasher` instance using the `NewHasher` method, then call `HashProto` with a protobuf message to get its ObjectHash: ```golang hasher := protohash.NewHasher() hash, err := hasher.HashProto(message) ``` ## Options In order to simplify compatibility with other ObjectHash applications, this library exposes the following options that control how the hashing is done: 1. `EnumsAsStrings()`: Makes enum values get hashed as strings instead of being hashed as their integer values. 1. `FieldNamesAsKeys()`: Makes protobuf message fields use their names as keys instead of using the field tag numbers as keys. 1. `MessageIdentifier(i)`: Instead of hashing protobuf messages as maps, this makes it possible to distinguish them by using `i` as the type-identifier that gets used in calculating the ObjectHash of a message. Those options can be specified in any order as arguments to the `NewHasher` function. Example: ```golang hasher := protohash.NewHasher(EnumsAsStrings(), MessageIdentifier(`m`), FieldNamesAsKeys()) ``` ## Help and Discussion * [Google Group](https://groups.google.com/forum/#!forum/objecthash)