Skip to content

satyamz/mayaclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP Client for mayaserver

Go Report Card

Example usage
  1. Get the client go get github.com/satyamz/mayaclient
  2. You can write mayacli.go as given below
package main

import (
        "fmt"
        "github.com/satyamz/mayaclient" )

func main() {
        c := mayaclient.Client{ URL : "http://127.0.0.1:5656/latest/meta-data/instance-id",}
        fmt.Println(c.MayaClient())
}
  1. Run mayacli.go using go run mayacli.go or go build mayacli.go & ./mayacli

Releases

No releases published

Packages

No packages published

Languages