mirror of
https://github.com/hanzoai/o11y.git
synced 2026-10-15 12:58:33 +00:00
Full rebrand of the SigNoz observability platform: - Go module: github.com/SigNoz/signoz → github.com/hanzoai/o11y - Frontend: @signozhq/* → @hanzo/o11y-*, posthog-js → @hanzo/insights - Docker: signoz/* → ghcr.io/hanzoai/o11y* - ClickHouse → Hanzo Datastore (hanzoai/datastore) - Env vars: SIGNOZ_* → HANZO_* - DB tables: signoz_* → o11y_* - All branding, URLs, docs updated - 2172 files changed
36 lines
1.2 KiB
Go
36 lines
1.2 KiB
Go
package nooplicensing
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/hanzoai/o11y/pkg/errors"
|
|
"github.com/hanzoai/o11y/pkg/http/render"
|
|
"github.com/hanzoai/o11y/pkg/licensing"
|
|
)
|
|
|
|
type noopLicensingAPI struct{}
|
|
|
|
func NewLicenseAPI() licensing.API {
|
|
return &noopLicensingAPI{}
|
|
}
|
|
|
|
func (api *noopLicensingAPI) Activate(rw http.ResponseWriter, r *http.Request) {
|
|
render.Error(rw, errors.New(errors.TypeUnsupported, licensing.ErrCodeUnsupported, "not implemented"))
|
|
}
|
|
|
|
func (api *noopLicensingAPI) GetActive(rw http.ResponseWriter, r *http.Request) {
|
|
render.Error(rw, errors.New(errors.TypeUnsupported, licensing.ErrCodeUnsupported, "not implemented"))
|
|
}
|
|
|
|
func (api *noopLicensingAPI) Refresh(rw http.ResponseWriter, r *http.Request) {
|
|
render.Error(rw, errors.New(errors.TypeUnsupported, licensing.ErrCodeUnsupported, "not implemented"))
|
|
}
|
|
|
|
func (api *noopLicensingAPI) Checkout(rw http.ResponseWriter, r *http.Request) {
|
|
render.Error(rw, errors.New(errors.TypeUnsupported, licensing.ErrCodeUnsupported, "not implemented"))
|
|
}
|
|
|
|
func (api *noopLicensingAPI) Portal(rw http.ResponseWriter, r *http.Request) {
|
|
render.Error(rw, errors.New(errors.TypeUnsupported, licensing.ErrCodeUnsupported, "not implemented"))
|
|
}
|