* Create UserAgent that can be passed from the binary to the nym api client
* TryFrom for UserAgent to HeaderValue
* Add user agent for getting the list of gateways
* Fix wasm client
* Move clap behind feature flag in bin-common
* Implement conversion to UserAgent
* Set user_agent on base client in native and socks5 clients
* Set user agent in socks5-listener lib
* wip
* wip
* Deserialize cargo_triple to unknown by default
* Abbreviate git hash
* Remove unused import
* Add missing dep, and remove dbg statements
* Reorder string representation
* Remove commented out code
* Revert temporary log level change
* * added info on gateway habourmaster
* fixed broken examples with new infra addresses
* bump node version in ts sdk docs ci script
---------
Co-authored-by: mfahampshire <mfahampshire@pm.me>
* Set active gateway after setting up gateway in base client
* Elevate log statements in gateway setup
* Add debug implementations for some gateway setup types
* Rework gateway setup in rust sdk mixnet client
* Remove unused KeyMode type
* Remove pub from internal setters
* Remove pseudo builder methods
* Make create_bandwidth_client pub
* Downgrade log statement to debug
* Revert set_active_gateway in base_client
* Rename to set_active_gateway_if_previously_registered
* fixed rebase conflict with cargo.lock
* shared cleanup
* moved returncode to shared
* first pass at Go binding structure
* minor cleanup
* working on custom type udl
* trying to get LDFLAG script working
* commit before changing alias -> proper types
* converted CCallbacks from aliases to Struct
* cleanup comments
* temp
* push to share
* cleanup
* trait Lift not implemented for *const i8 issue
* test of refactor:
* move c-specific var casting out of shared/ into cpp/
* error returning in go/ over ffi boundary with uniffi
* _internal functions ffi wrapper agnostic
* moved lang-specific type conversions to cpp / go bindings and out of
shared
* got send_message working in c/c++ & go
* split out c/c++-specific types to mod
* cont. with making _internal fns lang agnostic
* working on final fn for C and shared (listening for incoming messages)
* fixed return err on listen_for_incoming
* got full example run running again after shared/ refactor
* removed unused struct
* code comments
* got first runthrough of go example code
* script cleanup
* clean up readme instructions
* clippy
* removed unused imports
* rustfmt
* Update sdk/ffi/go/README.md with link to example file
Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com>
* updated readme with extra build and usage info
* renamed binding outer directory for nicer path
* moved example file from ffi/main.go -> ./example.go
* updated README with new example file name
---------
Co-authored-by: mfahampshire <mfahampshire@pm.me>
Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com>