Documentation
¶
Overview ¶
* SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2021, Lewis Cook <lcook@FreeBSD.org> * All rights reserved.
* SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2021, Lewis Cook <lcook@FreeBSD.org> * All rights reserved.
* SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2021, Lewis Cook <lcook@FreeBSD.org> * All rights reserved.
Index ¶
Constants ¶
View Source
const ( /* * Check whether the incoming method is `POST`. */ OptionCheckMethod byte = 1 << iota /* * Check whether the application type sent is `application/json`. */ OptionCheckType /* * Reasonable defaults for webhook listening. */ DefaultOptions = (OptionCheckMethod | OptionCheckType) )
* Optional middleware a hook can use for convenience.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.