package
1.4.1
Repository: https://github.com/wtsi-hgi/wrstat-ui.git
Documentation: pkg.go.dev

# Functions

FindDBDirs finds the latest dirguta and basedir databases in the given base directory, returning the paths to the dirguta dbs and basedir dbs for each key/mountpoint.
GetGroupAreas is a client call to a Server that queries its configured group area information.
GetWhereDataIs is a client call to a Server listening at the given domain:port url that queries where data is and returns the raw response body (JSON string), and that body converted in to a slice of *DirSummary.
JoinDBPaths produces a list of a dgutaDB paths and basedirDB paths from the provided base dbPaths and the basenames of the DBs.
New creates a Server which can serve a REST API and website.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
EndPointAuthBasedir* are the endpoints for making base directory related queries if authorization is implemented.
No description provided by the author
EndPointAuthGroupAreas is the endpoint for making queries on what the group areas are, which is available if authorization is implemented.
EndPointAuthTree is the endpoint for making treemap queries when authorization is implemented.
EndPointAuthWhere is the endpoint for making where queries if authorization is implemented.
No description provided by the author
No description provided by the author
No description provided by the author
EndPointBasedir* are the endpoints for making base directory related queries if authorization isn't implemented.
No description provided by the author
EndPointWhere is the endpoint for making where queries if authorization isn't implemented.
No description provided by the author
No description provided by the author
No description provided by the author
TreePath is the path to the static tree website.

# Structs

DirSummary holds nested file count, size and atime information on a directory.
Server is used to start a web server that provides a REST API to the dgut package's database, and a website that displays the information nicely.
TreeElement holds tree.DirInfo type information in a form suited to passing to the treemap web interface.

# Type aliases

WhiteListCallback is passed to WhiteListGroups() and is used by the server to determine if a given unix group ID is special, indicating that users belonging to it have permission to view information about all other unix groups.