Skip to content

Utility functions, better logging

Pre-release
Pre-release
Compare
Choose a tag to compare
@ShivanshVij ShivanshVij released this 24 Mar 13:17
b035542

Changes

  • Changing Connect signatures and Start signatures for servers, and clients
  • Changing the functionality of Server.Start so that it blocks and returns an error
  • Adding ServeConn and FromConn functions for severs and clients
  • Updating protoc-gen-frisbee to comply with the new changes
  • Updating the buf.build manifest for protoc-gen-frisbee
  • Making baseContext, onClosed, and preWrite hooks for the Server private, and creating Setter functions that
    make it impossible to set those functions to nil

Fixes

  • Fixing panics from ConnectSync and ConnectAsync functions when the connection cannot be established - it now
    returns an error properly instead