request_file_test.go 244 B

123456789101112131415161718
  1. package file_server_sdk
  2. import (
  3. "fmt"
  4. "testing"
  5. )
  6. func init() {
  7. i := Config{
  8. Host: "http://127.0.0.1:18199",
  9. }
  10. i.Init()
  11. }
  12. func Test_Persistent_file(t *testing.T) {
  13. var hash = "sss"
  14. fmt.Println(GetHandle().HandlePersistent(hash))
  15. }