go public libary

gopublic

canutil can数据解析

can矩阵表,包含所有的信号,及信号在can的格式,大小,起始位置,最大最小值等,

can数据包括两种格式:

  1. intel
  2. motorola

loger

  1. 日志输入打印输出包,统一格式为
    时间|[级别]|[自定义标记]|[线程]|[类.函数]|[行数]|[请求方法 请求路径]|[终端请求编号]|自定义消息
  1. 日志级别使用规范
   log.info      消息在粗粒度级别上突出强调应用程序的运行过程。打印一些你感兴趣的或者重要的信息,这个能够用于生产环境中输出程序运行的一些重要信息,可是不能滥用,避免打印过多的日志。
   log.debug     指出细粒度信息事件对调试应用程序是很是有帮助的,主要用于开发过程当中打印一些运行信息。
   log.warning   代表会出现潜在错误的情形,有些信息不是错误信息,可是也要给程序员的一些提示。
   log.error     指出虽然发生错误事件,但仍然不影响系统的继续运行。打印错误和异常信息,若是不想输出太多的日志,能够使用这个级别。

requester

封装的http协议包,通用的get/post请求

gb data

国标数据包括

	DataTime                        string
	VehicleData                     VehicleData                     //整车数据
	DrivingMotorData                DrivingMotorData                /*驱动点击数据*/
	FuelCellData                    FuelCellData                    /*燃料电池数据*/
	EngineData                      EngineData                      /*发动机数据*/
	PlaceResultDto                  PlaceResultDto                  /*车辆位置数据*/
	PeakData                        PeakData                        /*极值数据*/
	AlarmData                       AlarmData                       /*告警数据*/
	StorageDeviceVoltageData        StorageDeviceVoltageData        /*可充电储能装置电压数据*/
	StorageDeviceTemperatureOneData StorageDeviceTemperatureOneData /*可充电储能装置温度数据*/

基础头数据

* +----------+----------+----------------------------+
* |  size    |  value   |  intro                     |
* +----------+----------+----------------------------+
* | 1 byte   |1,2,3,4   |  Type 命令类型     【0】     |
* | 1 byte   |          |  CMD 命令标识      【1】     |
* | 2 byte   |          |  SN 命令流水号     【2:3】   |
* | 1 bytes  |          |  ACK 应答         【4】     |
* | 85 bytes |1         |  Vtoken           [5:89]   |
* | 1 byte   |          |  Source           [90]     |
* | 6 bytes  |          |  ReportTime       [91:96]  |
* | 2 bytes  |          |  DateSize         [97:98]  |
* | n bytes  |          |  Date             [99:]    |
* +----------+----------+----------------------------+

Utils 工具类

包含重要的工具封装类

  1. 时间格式转换 包括秒,毫秒转换成如下格式
    	LAYOUT_TIME_BLENDSEC   = "20060102150405"
    	LAYOUT_TIME_BLENDDAY   = "20060102"
    	LAYOUT_TIME_STAMPDAY   = "2006-01-02"
    	LAYOUT_TIME_STAMP      = "2006-01-02 15:04:05"
    	LAYOUT_TIME_STAMPMILLI = "2006-01-02 15:04:05.000"
    
  2. 通用工具类 包括加解密,字符串转换,进制转换等
Similar Resources

A golang client for the Twitch v3 API - public APIs only (for now)

go-twitch Test CLIENT_ID="my client ID" go test -v -cover Usage Example File: package main import ( "log" "os" "github.com/knspriggs/go-twi

Sep 27, 2022

rpCheckup is an AWS resource policy security checkup tool that identifies public, external account access, intra-org account access, and private resources.

rpCheckup is an AWS resource policy security checkup tool that identifies public, external account access, intra-org     account access, and private resources.

rpCheckup - Catch AWS resource policy backdoors like Endgame rpCheckup is an AWS resource policy security checkup tool that identifies public, externa

Dec 26, 2022

Lightweight selfhosted Firefox Send alternative without public upload

Lightweight selfhosted Firefox Send alternative without public upload

Gokapi Available for: Bare Metal Docker About Gokapi is a lightweight server to share files, which expire after a set amount of downloads or days. It

Jan 5, 2023

Go Web UI Toolkit - Public Releases and Development

 Go Web UI Toolkit - Public Releases and Development

Welcome! Gowut (Go Web UI Toolkit) is a full-featured, easy to use, platform independent Web UI Toolkit written in pure Go, no platform dependent nati

Dec 5, 2022

Upterm is an open-source solution for sharing terminal sessions instantly over the public internet via secure tunnels.

Upterm is an open-source solution for sharing terminal sessions instantly over the public internet via secure tunnels.

Upterm is an open-source solution for sharing terminal sessions instantly over the public internet via secure tunnels.

Jan 8, 2023

Managing your Kubernetes clusters (including public, private, edge, etc) as easily as visiting the Internet

Clusternet Managing Your Clusters (including public, private, hybrid, edge, etc) as easily as Visiting the Internet. Clusternet (Cluster Internet) is

Dec 30, 2022

Mildly performant age public key bruteforcer

vanity-age Mildly performant age vanity public key brute-forcer.

Aug 30, 2021

View historical Docker Hub image pull charts for all public Docker Images.

View historical Docker Hub image pull charts for all public Docker Images.

dockerstats.com ⚠️ Due to recent changes to Docker Hub APIs (rate limits) and new business model, dockerstats.com can no longer collect image statisti

May 19, 2022

Public interface definitions of 1C Enterprise

proto Репозиторий содержит файлы для Protobuf (контрактов и описание сервисов) для автоматической генерации классов/структур под языки программировани

Oct 9, 2022

A bot based on Telegram Bot API written in Golang allows users to download public Instagram photos, videos, and albums without receiving the user's credentials.

InstagramRobot InstagramRobot is a bot based on Telegram Bot API written in Golang that allows users to download public Instagram photos, videos, and

Dec 16, 2021

This plugin enhances Hashicorp Vault Service with cryptographic operations to create, import and sign using different type of keypairs and Ethereum wallets, including signing operation for public ethereum transaction, EEA and Quorum

This plugin enhances Hashicorp Vault Service with cryptographic operations to create, import and sign using different type of keypairs and Ethereum wallets, including signing operation for public ethereum transaction, EEA and Quorum

Quorum Hashicorp Vault plugin The Quorum plugin enhances Hashicorp Vault Service with cryptographic operations under Vault engine, such as: Create and

Jan 7, 2023

generate a chia address by public key, chia公钥生成地址

chia-address-generator This repo is a hack way to generate an address from publicKey. So it's not a good enough way to use it in prod, use it just for

Mar 9, 2022

The open source public cloud platform. An AWS alternative for the next generation of developers.

The open source public cloud platform. An AWS alternative for the next generation of developers.

M3O M3O is an open source public cloud platform. We are building an AWS alternative for the next generation of developers. Overview AWS was a first ge

Jan 2, 2023

Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com).

Go Modules Remote Import Path Proxy Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com). For example Uber (buil

Nov 2, 2021

Real-time Map displays real-time positions of public transport vehicles in Helsinki

Real-time Map displays real-time positions of public transport vehicles in Helsinki

Real-time Map Real-time Map displays real-time positions of public transport vehicles in Helsinki. It's a showcase for Proto.Actor - an ultra-fast dis

Nov 30, 2022

checkip is a CLI tool and library that checks an IP address using various public services.

checkip is a CLI tool and library that checks an IP address using various public services.

checkip is a CLI tool and library that checks an IP address using various public services.

Dec 20, 2022

Dynamically update DNS records with your interface's public IPs

Dynamically update DNS records with your interface's public IPs

Jul 2, 2022

Nekogram X public proxy for PC

这是什么 备用代理,以防失联,适用于电脑端。 与 Nekogram X 的公共代理一致。 如何自行搭建 WSS 中继 需要自行转发 https / websocket (以使用 CDN 为例) 准备一个域名。如 tg.gov.cn 根据 这里 的记录,设置相应数量的子域名记录(目前为 8 个) 如

Dec 15, 2022

An SVG-based tool to visualize public transport journeys retrieved from a HAFAS system

An SVG-based tool to visualize public transport journeys retrieved from a HAFAS system

Time-Space Train Planner An SVG-based tool to visualize public transport journeys retrieved from a HAFAS system, in order to see all possible connecti

Dec 17, 2022
Related tags
Go pkg for returning your public facing IP address.

#publicip This package returns the public facing IP address of the calling client (a la https://icanhazip.com, but from Go!) Author James Polera james

Nov 21, 2022
Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com).

Go Modules Remote Import Path Proxy Proxy your Go Module`s Import Path from your own domain to a public host (e.g. github.com). For example Uber (buil

Nov 2, 2021
checkip is a CLI tool and library that checks an IP address using various public services.
checkip is a CLI tool and library that checks an IP address using various public services.

checkip is a CLI tool and library that checks an IP address using various public services.

Dec 20, 2022
Nekogram X public proxy for PC

这是什么 备用代理,以防失联,适用于电脑端。 与 Nekogram X 的公共代理一致。 如何自行搭建 WSS 中继 需要自行转发 https / websocket (以使用 CDN 为例) 准备一个域名。如 tg.gov.cn 根据 这里 的记录,设置相应数量的子域名记录(目前为 8 个) 如

Dec 15, 2022
Creates a linux group of users synced to your Google Workspace users and automatically imports their public SSH keys.
Creates a linux group of users synced to your Google Workspace users and automatically imports their public SSH keys.

Creates a linux group of users synced to your Google Workspace users and automatically imports their public SSH keys.

Jan 27, 2022
Sonarcon - Uses the SonarQube API to interact and extract sources from public instances

Sonarcon Uses the SonarQube API to interact and extract sources from public inst

Feb 17, 2022
An easy-to-use net tool for exposing local service to public.
An easy-to-use net tool for exposing local service to public.

gexpose An easy-to-use net tool for exposing local service to public. 一款简单易用的内网穿透工具 Architecture Usage Usage of ./gexpose: -server server mo

Nov 7, 2022
Ebpfmanager - A golang ebpf libary base on cilium/ebpf and datadog/ebpf
Ebpfmanager - A golang ebpf libary base on cilium/ebpf and datadog/ebpf

介绍 ebpfmanager参照datadog/ebpf/manager包的思想,基于cilium/ebpf实现的ebpf类库封装。 相比cilium/ebpf

Dec 29, 2022
Gesetzliche Feiertage und mehr in Deutschland und Österreich (Bank holidays/public holidays in Austria and Germany)

Feiertage Feiertage is a Go/Golang library for calculating German and Austrian bank holidays. It includes the calculation of the date of Easter and, m

Sep 26, 2022
Go pkg for returning your public facing IP address.

#publicip This package returns the public facing IP address of the calling client (a la https://icanhazip.com, but from Go!) Author James Polera james

Nov 21, 2022