package
2.2.0+incompatible
Repository: https://github.com/tomsteele/shellsquid.git
Documentation: pkg.go.dev

# Functions

FindRecordByFQDN returns a single record for the provided fqdn.
FindRecordBySubOfFQDN is used for DNS requests and tries to find the record whos FQDN matches name.
FindRecordsForOwner returns a list of all records for a given owner by their id.
FindUserByEmail is a convenience function to locate a users record by a given email address.
NewUser creates and returns a new user object provided a username and password.

# Structs

Record is a single proxy record used for routing.
RecordRequest is used for JSON binding during a request to create a new record.
UpdateRecordRequest is used to perform JSON binding when updating a record.
User is a single user of the application.
UserRequest is used for JSON binding when creating a new user.
UserTokenRequest is used when doing a login to generate a new JWT token for the given user.
UserUpdateRequest is used to perform JSON binding when updating a user.