# README

Grafana Contact Point

To create a Grafana Contact Point:

    createGrafanaContactPoint := grafana_contact_points.GrafanaContactPoint{
                                    Name: "my-contact-point",
                                    Type: "email",
                                    Settings: map[string]interface{}{
                                            "addresses":   "[email protected];[email protected]",
                                            "singleEmail": false,
                                        },
                                    DisableResolveMessage: false,
                                }	
    client, err := grafana_contact_points.New("some-token", "some-url")
    contactPoint, err := client.CreateGrafanaContactPoint(createGrafanaContactPoint)
functionfunc name
create contact pointfunc (c *GrafanaContactPointClient) CreateGrafanaContactPoint(payload GrafanaContactPoint) (GrafanaContactPoint, error)
delete contact pointfunc (c *GrafanaContactPointClient) DeleteGrafanaContactPoint(uid string) error
get all contact pointsfunc (c *GrafanaContactPointClient) GetAllGrafanaContactPoints() ([]GrafanaContactPoint, error)
get contact point by uidfunc (c *GrafanaContactPointClient) GetGrafanaContactPointByUid(uid string) (GrafanaContactPoint, error)
get contact points by namefunc (c *GrafanaContactPointClient) GetGrafanaContactPointsByName(name string) ([]GrafanaContactPoint, error)
update contact pointfunc (c *GrafanaContactPointClient) UpdateContactPoint(contactPoint GrafanaContactPoint) error

# Functions

No description provided by the author
No description provided by the author

# Constants

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

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author