summaryrefslogtreecommitdiff
path: root/src/nshd/main.go
blob: 8230734e63d9e978dd83c54c9828b87839b336e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package main

import (
	_ "golang.org/x/exp/inotify"
	_ "gopkg.in/yaml.v2"
	"nslcd_proto"
	"nslcd_systemd"
)

type hackersBackend struct {
	nslcd_proto.NullBackend
}

var _ nslcd_systemd.Backend = &hackersBackend{}

func (o *hackersBackend) Reload() {
	// TODO
}

func newHackersBackend() *hackersBackend {
	// TODO
	return &hackersBackend{}
}

func main() {
	backend := newHackersBackend()
	nslcd_systemd.Main(backend)
}