Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

type RunTimeContext struct {
    // opaque to caller
}


//Initialize context by assigning a new id
func (rtc *RunTimeContext) RtcInit() (interface{}, error)

//Load context using the given id
func (rtc *RunTimeContext) RtcLoad(id interface{}) (interface{}, error)

//Create context by assigning a new id and return the handle
func (rtc *RunTimeContext) RtcCreate() (interface{}, error)

...

// Get the value for a given handle
func (rtc *RunTimeContext) RtcGetValue(handle interface{}) (, value interface{}, ) (error)