Categorygithub.com/mrusme/go-fleek
modulepackage
0.1.1
Repository: https://github.com/mrusme/go-fleek.git
Documentation: pkg.go.dev

# README

go-fleek

godoc license

Tiny Go library for the Fleek API.

Installation

go get -u github.com/mrusme/go-fleek

Getting Started

Querying Sites by Team ID

package main

import (
  "log"
  "github.com/mrusme/go-fleek"
)

func main() {
  f := fleek.New("apiKeyHere")

  sites, err := f.GetSitesByTeamId("my-team")
  if err != nil {
    log.Panic(err)
  }

  for _, site := range sites {
    log.Printf(
      "Site ID: %v\nName: %s\nPlatform: %s\n\n",
      site.Id,
      site.Name,
      site.Platform,
    )
  }
}

# Functions

Initializes new FleekClient.

# Structs

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
No description provided by the author
No description provided by the author