carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package host
4
5import (
6 "context"
7 "errors"
8 "net"
9)
10
11var errDBReadsUnsupported = errors.New("db reads run only on Linux")
12
13func dialDBReadWorker(context.Context) (net.Conn, error) { return nil, errDBReadsUnsupported }
14
15func dbReadUnits(context.Context) (int, error) { return 0, errDBReadsUnsupported }
16
17func varTmpFree() (uint64, uint64, error) { return 0, 0, errDBReadsUnsupported }
18