Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContractProjectID = "odysseyproject"
ContractProjectID denotes a contract that can describe a project
Functions ¶
This section is empty.
Types ¶
type ProjectData ¶
type ProjectData struct { Datasets []byzcoin.InstanceID Metadata *catalogc.Metadata AccessPubKey string EnclavePubKey string Status ProjectStatus EnclaveURL string }
ProjectData hold the data of the Odyssey project contract
func (ProjectData) String ¶
func (pd ProjectData) String() string
String returns a human readable string representation of the project data
type ProjectStatus ¶
type ProjectStatus int
ProjectStatus describes the status of the project. It matches what you can find in dsmanager/app/models/projects.go
func StatusFromString ¶
func StatusFromString(status string) (ProjectStatus, error)
StatusFromString return a status given its string representation
func (ProjectStatus) String ¶
func (status ProjectStatus) String() string
Click to show internal directories.
Click to hide internal directories.