Skip to content

hashicorp-demoapp/hashicups-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashicups Client (Go)

A Go client package that provides a transient connection between terraform-provider-hashicups and product-api. You do not need to compile this package; the HashiCups provider uses it as a dependency.

Hashicups diagram

Using this module, the Hashicups provider establishes a new client and sends HTTP(s) requests to the product api application to perform CRUD operations. It also handles data mapping from user's inputs to models.go. The Hashicups URL defaults to http://localhost:19090 and you can configure it here in case that port is already in use. This module also handles API calls to sign up, sign in and sign out for users authentication.