b1f8ac453b
feat!: base template * first bit of templating * codeowners * linuxbased * restart * baseline project * add grpc api and basic integration test * startqueue * queueMsg * splitscripts * migrations * queueintegrationtest * gateway
15 lines
320 B
Go
15 lines
320 B
Go
// Copyright 2021 Tobias Klauser. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package sysconf
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func sysconf(name int) (int64, error) {
|
|
if name < 0 {
|
|
return -1, errInvalid
|
|
}
|
|
return unix.Sysconf(name)
|
|
}
|