Documentation ¶
Index ¶
- func BindSimple(builder *gateway.Builder, params *Simple, opts ...any)
- type CreateOption
- func WithAfterCreateBuilderCallback(callbacks RequestBuilderCallback) CreateOption
- func WithBeforeCreateBuilderCallback(callbacks RequestBuilderCallback) CreateOption
- func WithCreateMiddlewares(middlewares ...gateway.Handler) CreateOption
- func WithCreateResponseSuccessCallback(responseSuccessCallback gateway.ResponseSuccessCallback) CreateOption
- type CreateOptions
- type DeleteOption
- func WithAfterDeleteBuilderCallback(callbacks RequestBuilderCallback) DeleteOption
- func WithBeforeDeleteBuilderCallback(callbacks RequestBuilderCallback) DeleteOption
- func WithDeleteMiddlewares(middlewares ...gateway.Handler) DeleteOption
- func WithDeleteResponseSuccessCallback(responseSuccessCallback gateway.ResponseSuccessCallback) DeleteOption
- func WithDisableDelete() DeleteOption
- type DeleteOptions
- type GlobalOption
- type GlobalOptions
- type QueryOption
- func WithAfterQueryBuilderCallback(callbacks RequestBuilderCallback) QueryOption
- func WithBeforeQueryBuilderCallback(callbacks RequestBuilderCallback) QueryOption
- func WithDisableQuery() QueryOption
- func WithQueryMiddlewares(middlewares ...gateway.Handler) QueryOption
- func WithQueryResponseSuccessCallback(responseSuccessCallback gateway.ResponseSuccessCallback) QueryOption
- type QueryOptions
- type RequestBuilderCallback
- type Simple
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateOption ¶
type CreateOption func(options *CreateOptions)
func WithAfterCreateBuilderCallback ¶
func WithAfterCreateBuilderCallback(callbacks RequestBuilderCallback) CreateOption
func WithBeforeCreateBuilderCallback ¶
func WithBeforeCreateBuilderCallback(callbacks RequestBuilderCallback) CreateOption
func WithCreateMiddlewares ¶
func WithCreateMiddlewares(middlewares ...gateway.Handler) CreateOption
func WithCreateResponseSuccessCallback ¶ added in v1.1.11
func WithCreateResponseSuccessCallback(responseSuccessCallback gateway.ResponseSuccessCallback) CreateOption
type CreateOptions ¶
type CreateOptions struct {
// contains filtered or unexported fields
}
type DeleteOption ¶
type DeleteOption func(options *DeleteOptions)
func WithAfterDeleteBuilderCallback ¶
func WithAfterDeleteBuilderCallback(callbacks RequestBuilderCallback) DeleteOption
func WithBeforeDeleteBuilderCallback ¶
func WithBeforeDeleteBuilderCallback(callbacks RequestBuilderCallback) DeleteOption
func WithDeleteMiddlewares ¶
func WithDeleteMiddlewares(middlewares ...gateway.Handler) DeleteOption
func WithDeleteResponseSuccessCallback ¶ added in v1.1.11
func WithDeleteResponseSuccessCallback(responseSuccessCallback gateway.ResponseSuccessCallback) DeleteOption
func WithDisableDelete ¶
func WithDisableDelete() DeleteOption
type DeleteOptions ¶
type DeleteOptions struct {
// contains filtered or unexported fields
}
type GlobalOption ¶
type GlobalOption func(options *GlobalOptions)
func WithGlobalMiddlewares ¶
func WithGlobalMiddlewares(middlewares ...gateway.Handler) GlobalOption
type GlobalOptions ¶
type GlobalOptions struct {
// contains filtered or unexported fields
}
type QueryOption ¶
type QueryOption func(options *QueryOptions)
func WithAfterQueryBuilderCallback ¶
func WithAfterQueryBuilderCallback(callbacks RequestBuilderCallback) QueryOption
func WithBeforeQueryBuilderCallback ¶
func WithBeforeQueryBuilderCallback(callbacks RequestBuilderCallback) QueryOption
func WithDisableQuery ¶
func WithDisableQuery() QueryOption
func WithQueryMiddlewares ¶
func WithQueryMiddlewares(middlewares ...gateway.Handler) QueryOption
func WithQueryResponseSuccessCallback ¶ added in v1.1.11
func WithQueryResponseSuccessCallback(responseSuccessCallback gateway.ResponseSuccessCallback) QueryOption
type QueryOptions ¶
type QueryOptions struct {
// contains filtered or unexported fields
}
type RequestBuilderCallback ¶ added in v0.10.5
type RequestBuilderCallback func(requestBuilder *gateway.RequestBuilder) error
Click to show internal directories.
Click to hide internal directories.