/JudgeServerClient

QingdaoU JudgeServer golang client,这个仓库是直接使用的官方代码,只是重新整理了文件结构,便于go mod安装

Primary LanguageGoOtherNOASSERTION

Usage

  • go get
go get github.com/keepchen/JudgeServerClient
  • go mod
go mod download github.com/keepchen/JudgeServerClient
import judge "github.com/keepchen/JudgeServerClient"

...

client := judge.NewClient(judge.WithTimeout(0))
client.SetOptions(judge.WithEndpointURL("http://127.0.0.1:12358"), judge.WithToken("MY-TOKEN-STRING"))

Origin

QingdaoU/JudgeServer