moss

(★ 18)

Moss is an embeddable P2P mesh core written in Go and exported through CGO as a C-shared library.

파일 탐색기

  • .dockerignore
  • .gitignore
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • fly.toml
  • go.mod
  • go.sum
  • LICENSE
  • Makefile
  • moss.go
  • package-lock.json
  • package.json
  • postcss.config.js
  • README.md
  • SECURITY.md
  • tailwind.config.js
  • vite.config.mjs

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

go build

설명 보기 ▼

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

🔍

go test

설명 보기 ▼

Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go test

Test the package found in the current directory:

go test -v

[v]erbosely test the package in the current directory:

go test -v ./...

Test the packages in the current directory and all subdirectories:

🔍

python

설명 보기 ▼

Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.

python

REPL(대화형 셸) 시작:

python {{path/to/file.py}}

특정 Python 파일 실행:

python -i {{path/to/file.py}}

특정 Python 파일 실행 후 REPL 시작:

🔍

serve

설명 보기 ▼

정적 파일 제공 및 디렉토리 목록화 도구.
더 많은 정보: <https://github.com/vercel/serve>.

serve

기본 포트에서 현재 디렉토리를 제공하는 HTTP 서버 시작:

serve -p {{port}} {{path/to/directory}}

특정 [p]포트에서 특정 디렉토리를 제공하는 HTTP 서버 시작:

serve {{[-C|--cors]}}

모든 응답에 `Access-Control-Allow-Origin: *` 헤더를 포함하여 CORS가 활성화된 HTTP 서버 시작:

# 프로젝트 배지

// repository documentation