Versions in this module Expand all Collapse all v0 v0.19.0 Jun 9, 2015 Changes in this version + var NamespaceMods = make(map[string]func(m proto.Message, namespace string)) + func AppID(fqai string) string + func ApplyTransaction(pb proto.Message, t *pb.Transaction) + func BackgroundContext() *context + func ContextForTesting(req *http.Request) *context + func Datacenter(req interface{}) string + func DefaultVersionHostname(req interface{}) string + func InstanceID() string + func Main() + func ModuleName() string + func NewContext(req *http.Request) *context + func RegisterErrorCodeMap(service string, m map[int32]string) + func RegisterTimeoutErrorCode(service string, code int32) + func RegisterTransactionSetter(f interface{}) + func RequestID(req interface{}) string + func ServerSoftware() string + func VersionID() string + func VirtAPI(c caller, method string) string + type APIError struct + Code int32 + Detail string + Service string + func (e *APIError) Error() string + func (e *APIError) IsTimeout() bool + type CallError struct + Code int32 + Detail string + Timeout bool + func (e *CallError) Error() string + func (e *CallError) IsTimeout() bool + type CallOptions struct + Timeout time.Duration