MCPcopy Create free account
hub / github.com/bcspragu/logseq-sync / server

Struct server

cmd/server/main.go:91–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91type server struct {
92 blob Blob
93
94 db DB
95 shouldProxy bool
96 proxy *httputil.ReverseProxy
97
98 now func() time.Time
99
100 r *rand.Rand
101 jwt *jwt.Parser
102
103 // TODO: Figure out how to handle this more elegantly
104 region string
105}
106
107func run(args []string) error {
108 if len(args) == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected