pinpoint-node-agent
Version:
Pinpoint node agent provided by NAVER
25 lines (20 loc) • 357 B
JavaScript
/**
* Pinpoint Node.js Agent
* Copyright 2020-present NAVER Corp.
* Apache License v2.0
*/
const SIGNATURE = -17
const VERSION = 16
const HEADER_PREFIX_SIZE = 4
class Header {
constructor (type) {
this.signature = SIGNATURE
this.version = VERSION
this.type = type
}
}
module.exports = {
Header,
HEADER_PREFIX_SIZE
}