go-smb-client

command module
v0.0.0-...-4b3fde8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: MIT Imports: 7 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL