Move json_messages.nim to schema
This commit is contained in:
parent
17add47cd6
commit
ed4bab23ac
|
@ -5,7 +5,7 @@ import std/[json, options]
|
||||||
import pkg/sys/[ioqueue, sockets]
|
import pkg/sys/[ioqueue, sockets]
|
||||||
import preserves, preserves/jsonhooks, syndicate
|
import preserves, preserves/jsonhooks, syndicate
|
||||||
|
|
||||||
import ../schema/config, ../json_messages
|
import ../schema/[config, json_messages]
|
||||||
|
|
||||||
proc translateSocket(facet: Facet; ds: Cap; path: string) {.asyncio.} =
|
proc translateSocket(facet: Facet; ds: Cap; path: string) {.asyncio.} =
|
||||||
var
|
var
|
||||||
|
|
|
@ -5,8 +5,7 @@ import std/[json, osproc]
|
||||||
import preserves
|
import preserves
|
||||||
import syndicate
|
import syndicate
|
||||||
|
|
||||||
import ../schema/config
|
import ../schema/[config, json_messages]
|
||||||
import ../json_messages
|
|
||||||
|
|
||||||
proc runChild(params: seq[string]): string =
|
proc runChild(params: seq[string]): string =
|
||||||
if params.len < 1:
|
if params.len < 1:
|
||||||
|
|
Loading…
Reference in New Issue