Skip to content

alessandrovaprio/go-smb-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Go Library for Samba2 Exported with C bindings. It's aim is simplify the samba2 handling in Java. It means it'll be callable from Java through JNI.

Getting Started

Prerequisites

  • First of all you need GO or Docker installed

Compilation instruction

  • If go installed
    $ make
    
  • With Docker
    $ make dockerbuild
    

The binary will be saved in bin folder.

File's explanation

  • main.go contains all the function exposed with C bindings (special headers inside)
  • client.go contains all the implementation in pure GO.

Example

  • Is present a java example usage with test file.

NOTES

To use JNI it needs to import jna jar library to your Java project. It can be found under example/java/refLibrarires

Libraries

Thanks to this library I simplified my workflow:

License

distributed under MIT.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published