mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07:00
ditatompel
7dea8380b8
The client and server package is now separated, so I can build additional server package with `-tags server`.
14 lines
231 B
Go
14 lines
231 B
Go
//go:build server
|
|
|
|
package main
|
|
|
|
import (
|
|
"xmr-remote-nodes/cmd"
|
|
"xmr-remote-nodes/cmd/server"
|
|
)
|
|
|
|
func init() {
|
|
cmd.Root.AddCommand(server.AdminCmd)
|
|
cmd.Root.AddCommand(server.ServeCmd)
|
|
cmd.Root.AddCommand(server.ImportCmd)
|
|
}
|