Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/vendor/github.com/go-openapi/loads
renovate-sh-app[bot] 5ec7ddca47
fix(deps): update module github.com/prometheus/alertmanager to v0.29.0 (main) (#19797)
2 months ago
..
.editorconfig Convert Loki modules to services (#1804) 6 years ago
.gitignore Convert Loki modules to services (#1804) 6 years ago
.golangci.yml fix(deps): update module github.com/prometheus/alertmanager to v0.29.0 (main) (#19797) 2 months ago
.travis.yml Bump prometheus dependency (#6403) 4 years ago
CODE_OF_CONDUCT.md Convert Loki modules to services (#1804) 6 years ago
LICENSE Convert Loki modules to services (#1804) 6 years ago
README.md fix(deps): update module github.com/prometheus/alertmanager to v0.29.0 (main) (#19797) 2 months ago
doc.go fix(deps): update module github.com/prometheus/alertmanager to v0.29.0 (main) (#19797) 2 months ago
errors.go fix(deps): update module github.com/prometheus/alertmanager to v0.29.0 (main) (#19797) 2 months ago
loaders.go fix(deps): update module github.com/prometheus/alertmanager to v0.29.0 (main) (#19797) 2 months ago
options.go fix(deps): update module github.com/prometheus/alertmanager to v0.29.0 (main) (#19797) 2 months ago
spec.go fix(deps): update module github.com/prometheus/alertmanager to v0.29.0 (main) (#19797) 2 months ago

README.md

Loads OAI specs Build Status codecov

license GoDoc Go Report Card

Loading of OAI v2 API specification documents from local or remote locations. Supports JSON and YAML documents.

Primary usage:

  import (
	  "github.com/go-openapi/loads"
  )

  ...

	// loads a YAML spec from a http file
	doc, err := loads.Spec(ts.URL)
  
  ...

  // retrieves the object model for the API specification
  spec := doc.Spec()

  ...

See also the provided examples.