package
0.0.0-20240815235004-f7db1604d855
Repository: https://github.com/abiji-2020/bguard.git
Documentation: pkg.go.dev
# Functions
Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
NewBlockingStatusRequest generates requests for BlockingStatus.
NewCacheFlushRequest generates requests for CacheFlush.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewDisableBlockingRequest generates requests for DisableBlocking.
NewEnableBlockingRequest generates requests for EnableBlocking.
NewListRefreshRequest generates requests for ListRefresh.
No description provided by the author
NewQueryRequest calls the generic Query builder with application/json body.
NewQueryRequestWithBody generates requests for Query with any type of body.
No description provided by the author
No description provided by the author
ParseBlockingStatusResponse parses an HTTP response from a BlockingStatusWithResponse call.
ParseCacheFlushResponse parses an HTTP response from a CacheFlushWithResponse call.
ParseDisableBlockingResponse parses an HTTP response from a DisableBlockingWithResponse call.
ParseEnableBlockingResponse parses an HTTP response from a EnableBlockingWithResponse call.
ParseListRefreshResponse parses an HTTP response from a ListRefreshWithResponse call.
ParseQueryResponse parses an HTTP response from a QueryWithResponse call.
No description provided by the author
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.
# Structs
ApiBlockingStatus defines model for api.BlockingStatus.
ApiQueryRequest defines model for api.QueryRequest.
ApiQueryResult defines model for api.QueryResult.
BlockingStatus represents the current blocking status.
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
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
DisableBlockingParams defines parameters for DisableBlocking.
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
ServerInterfaceWrapper converts contexts to parameters.
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
# Interfaces
BlockingControl interface to control the blocking status.
No description provided by the author
No description provided by the author
No description provided by the author
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
No description provided by the author
No description provided by the author
Doer performs HTTP requests.
ListRefresher interface to control the list refresh.
No description provided by the author
No description provided by the author
No description provided by the author
ServerInterface represents all server handlers.
StrictServerInterface represents all server handlers.
# Type aliases
No description provided by the author
ClientOption allows setting custom parameters during construction.
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
QueryJSONRequestBody defines body for Query for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
No description provided by the author
No description provided by the author