http

package
v0.0.0-...-ec6f98a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Provider providers.Provider
	Events   *events.Repository
	Config   *config.Config
}

func NewClient

func NewClient(cfg *config.Config, events *events.Repository, provider providers.Provider) *Client

func (*Client) HealthCheck

func (c *Client) HealthCheck(w http.ResponseWriter, _ *http.Request)

func (*Client) Listen

func (c *Client) Listen() error

func (*Client) RefreshEvents

func (c *Client) RefreshEvents(w http.ResponseWriter, r *http.Request)

func (*Client) ServeCalendar

func (c *Client) ServeCalendar(w http.ResponseWriter, _ *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL