package
0.0.0-20241214180106-a4720edd636e
Repository: https://github.com/helixml/helix.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
this is a wrapper for any function that just returns some data and a normal error it is used because we want control over http status codes but lots of controller functions just return a normal error - so, if we get one of these we just do a 500 it's up to the server handlers to decide they want to care about the http status code and if they do then they should be handling the error themselves this method is used for controllers that just return a result and an error.
No description provided by the author
No description provided by the author
expandAndCheckFiles takes a base directory and a list of file paths which may include glob patterns.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateVersion generates a version string for the knowledge This is used to identify the version of the knowledge and to determine if the knowledge has been updated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewCleanupManager returns a new CleanupManager instance.
NewDetachedContext produces a new context that has a separate cancellation mechanism from its parent.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLimitedBuffer creates a new LimitedBuffer with the given limit.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
wrap a http handler with some error handling so if it returns an error we handle it.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
the sub path any API's are served over.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
CleanupManager provides utilities for ensuring that sub-goroutines can clean up their resources before the main goroutine exits.
No description provided by the author
No description provided by the author
LimitedBuffer is a thread-safe buffer that stores only the most recent data up to a specified limit.
No description provided by the author