Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
Endpoint is the struct that define all endpoint delivered by the path /migrate
func New ¶
New create an instance of the object Endpoint. You should have at most one instance of this object as it is only used by the struct api in the method api.registerRoute
func (*Endpoint) Migrate ¶
Migrate is the endpoint that provides the Perses dashboard corresponding to the provided grafana dashboard.
func (*Endpoint) RegisterRoutes ¶
RegisterRoutes is the method to use to register the routes prefixed by /api If the version is not v1, then look at the same method but in the package with the version as the name.
Click to show internal directories.
Click to hide internal directories.