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

Struct getGraphSaltResponse

cmd/server/main.go:610–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608 GraphUUID string `json:"GraphUUID"`
609}
610type getGraphSaltResponse struct {
611 Value string `json:"value"`
612 ExpiredAt int64 `json:"expired-at"`
613}
614
615func (s *server) getGraphSalt(ctx context.Context, req *getGraphSaltRequest) (*getGraphSaltResponse, error) {
616 salts, err := s.db.GraphSalts(ctx, db.GraphID(req.GraphUUID))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected