mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* upgrade prometheus to version 3.0.0 * upgrade to version 3.1.0 * linting * more linting * escape quotes for metrics labels * fix last test * changelog * added source to the logger * fix go.sum * improve tests to cover prometheus changes in validation regex
28 lines
523 B
Go
28 lines
523 B
Go
// Copyright 2024 Evan Shaw. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package mmap
|
|
|
|
import "syscall"
|
|
|
|
func mmap(len int, inprot, inflags, fd uintptr, off int64) ([]byte, error) {
|
|
return nil, syscall.ENOTSUP
|
|
}
|
|
|
|
func (m MMap) flush() error {
|
|
return syscall.ENOTSUP
|
|
}
|
|
|
|
func (m MMap) lock() error {
|
|
return syscall.ENOTSUP
|
|
}
|
|
|
|
func (m MMap) unlock() error {
|
|
return syscall.ENOTSUP
|
|
}
|
|
|
|
func (m MMap) unmap() error {
|
|
return syscall.ENOTSUP
|
|
}
|