Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server handles the webhook request from Strapi.
func (Server) HandleStrapiWebhook ¶
HandleStrapiWebhook handles the incoming webhook from Strapi and rebuilds Hugo when it encounters any change within Strapi.
func (Server) ListenAndServe ¶
func (s Server) ListenAndServe()
ListenAndServe listens on the port specified and then calls Serve with handler to handle requests on incoming connections.
Click to show internal directories.
Click to hide internal directories.