Documentation ¶
Index ¶
- Constants
- Variables
- func ParseIDAs(str string, destID interface{}) error
- func String(akid ID) string
- type APIKeyID
- func (APIKeyID) GetType() string
- func (bid APIKeyID) GetUUID() uuid.UUID
- func (id APIKeyID) MarshalText() ([]byte, error)
- func (i *APIKeyID) Scan(src interface{}) error
- func (id APIKeyID) String() string
- func (id *APIKeyID) UnmarshalText(data []byte) error
- func (i APIKeyID) Value() (driver.Value, error)
- type APIMethodID
- func (APIMethodID) GetType() string
- func (bid APIMethodID) GetUUID() uuid.UUID
- func (id APIMethodID) MarshalText() ([]byte, error)
- func (i *APIMethodID) Scan(src interface{}) error
- func (id APIMethodID) String() string
- func (id *APIMethodID) UnmarshalText(data []byte) error
- func (i APIMethodID) Value() (driver.Value, error)
- type APISpecID
- func (APISpecID) GetType() string
- func (bid APISpecID) GetUUID() uuid.UUID
- func (id APISpecID) MarshalText() ([]byte, error)
- func (i *APISpecID) Scan(src interface{}) error
- func (id APISpecID) String() string
- func (id *APISpecID) UnmarshalText(data []byte) error
- func (i APISpecID) Value() (driver.Value, error)
- type ClientID
- func (ClientID) GetType() string
- func (bid ClientID) GetUUID() uuid.UUID
- func (id ClientID) MarshalText() ([]byte, error)
- func (i *ClientID) Scan(src interface{}) error
- func (id ClientID) String() string
- func (id *ClientID) UnmarshalText(data []byte) error
- func (i ClientID) Value() (driver.Value, error)
- type ConnectionID
- func (ConnectionID) GetType() string
- func (bid ConnectionID) GetUUID() uuid.UUID
- func (id ConnectionID) MarshalText() ([]byte, error)
- func (i *ConnectionID) Scan(src interface{}) error
- func (id ConnectionID) String() string
- func (id *ConnectionID) UnmarshalText(data []byte) error
- func (i ConnectionID) Value() (driver.Value, error)
- type DataCategoryID
- func (DataCategoryID) GetType() string
- func (bid DataCategoryID) GetUUID() uuid.UUID
- func (i DataCategoryID) MarshalText() ([]byte, error)
- func (i *DataCategoryID) Scan(src interface{}) error
- func (id DataCategoryID) String() string
- func (i *DataCategoryID) UnmarshalText(data []byte) error
- func (i DataCategoryID) Value() (driver.Value, error)
- type GraphID
- type ID
- type IdentityID
- func (IdentityID) GetType() string
- func (bid IdentityID) GetUUID() uuid.UUID
- func (id IdentityID) MarshalText() ([]byte, error)
- func (i *IdentityID) Scan(src interface{}) error
- func (id IdentityID) String() string
- func (id *IdentityID) UnmarshalText(data []byte) error
- func (i IdentityID) Value() (driver.Value, error)
- type InsightsEndpointID
- func (InsightsEndpointID) GetType() string
- func (bid InsightsEndpointID) GetUUID() uuid.UUID
- func (id InsightsEndpointID) MarshalText() ([]byte, error)
- func (i *InsightsEndpointID) Scan(src interface{}) error
- func (id InsightsEndpointID) String() string
- func (id *InsightsEndpointID) UnmarshalText(data []byte) error
- func (i InsightsEndpointID) Value() (driver.Value, error)
- type LearnSessionID
- func (LearnSessionID) GetType() string
- func (bid LearnSessionID) GetUUID() uuid.UUID
- func (id LearnSessionID) MarshalText() ([]byte, error)
- func (i *LearnSessionID) Scan(src interface{}) error
- func (id LearnSessionID) String() string
- func (id *LearnSessionID) UnmarshalText(data []byte) error
- func (i LearnSessionID) Value() (driver.Value, error)
- type MessageID
- func (MessageID) GetType() string
- func (bid MessageID) GetUUID() uuid.UUID
- func (id MessageID) MarshalText() ([]byte, error)
- func (i *MessageID) Scan(src interface{}) error
- func (id MessageID) String() string
- func (id *MessageID) UnmarshalText(data []byte) error
- func (i MessageID) Value() (driver.Value, error)
- type MonitorID
- func (MonitorID) GetType() string
- func (bid MonitorID) GetUUID() uuid.UUID
- func (id MonitorID) MarshalText() ([]byte, error)
- func (i *MonitorID) Scan(src interface{}) error
- func (id MonitorID) String() string
- func (id *MonitorID) UnmarshalText(data []byte) error
- func (i MonitorID) Value() (driver.Value, error)
- type OrganizationID
- func (OrganizationID) GetType() string
- func (bid OrganizationID) GetUUID() uuid.UUID
- func (id OrganizationID) MarshalText() ([]byte, error)
- func (i *OrganizationID) Scan(src interface{}) error
- func (id OrganizationID) String() string
- func (id *OrganizationID) UnmarshalText(data []byte) error
- func (i OrganizationID) Value() (driver.Value, error)
- type OutboundRequestID
- func (OutboundRequestID) GetType() string
- func (bid OutboundRequestID) GetUUID() uuid.UUID
- func (id OutboundRequestID) MarshalText() ([]byte, error)
- func (i *OutboundRequestID) Scan(src interface{}) error
- func (id OutboundRequestID) String() string
- func (id *OutboundRequestID) UnmarshalText(data []byte) error
- func (i OutboundRequestID) Value() (driver.Value, error)
- type PathParameterPrefixID
- func (PathParameterPrefixID) GetType() string
- func (bid PathParameterPrefixID) GetUUID() uuid.UUID
- func (id PathParameterPrefixID) MarshalText() ([]byte, error)
- func (i *PathParameterPrefixID) Scan(src interface{}) error
- func (id PathParameterPrefixID) String() string
- func (id PathParameterPrefixID) UnmarshalText(data []byte) error
- func (i PathParameterPrefixID) Value() (driver.Value, error)
- type ProjectID
- func (ProjectID) GetType() string
- func (bid ProjectID) GetUUID() uuid.UUID
- func (i ProjectID) MarshalText() ([]byte, error)
- func (i *ProjectID) Scan(src interface{}) error
- func (id ProjectID) String() string
- func (i *ProjectID) UnmarshalText(data []byte) error
- func (i ProjectID) Value() (driver.Value, error)
- type QualifiedDeploymentID
- type QualifiedLearnSessionID
- type QualifiedServiceID
- type RequestID
- func (RequestID) GetType() string
- func (bid RequestID) GetUUID() uuid.UUID
- func (id RequestID) MarshalText() ([]byte, error)
- func (i *RequestID) Scan(src interface{}) error
- func (id RequestID) String() string
- func (id *RequestID) UnmarshalText(data []byte) error
- func (i RequestID) Value() (driver.Value, error)
- type RuleID
- type ScheduleID
- func (ScheduleID) GetType() string
- func (bid ScheduleID) GetUUID() uuid.UUID
- func (id ScheduleID) MarshalText() ([]byte, error)
- func (i *ScheduleID) Scan(src interface{}) error
- func (id ScheduleID) String() string
- func (id *ScheduleID) UnmarshalText(data []byte) error
- func (i ScheduleID) Value() (driver.Value, error)
- type ServiceClusterID
- func (ServiceClusterID) GetType() string
- func (bid ServiceClusterID) GetUUID() uuid.UUID
- func (i ServiceClusterID) MarshalText() ([]byte, error)
- func (i *ServiceClusterID) Scan(src interface{}) error
- func (id ServiceClusterID) String() string
- func (i *ServiceClusterID) UnmarshalText(data []byte) error
- func (i ServiceClusterID) Value() (driver.Value, error)
- type ServiceID
- func (ServiceID) GetType() string
- func (bid ServiceID) GetUUID() uuid.UUID
- func (id ServiceID) MarshalText() ([]byte, error)
- func (i *ServiceID) Scan(src interface{}) error
- func (id ServiceID) String() string
- func (id *ServiceID) UnmarshalText(data []byte) error
- func (i ServiceID) Value() (driver.Value, error)
- type ShardAliasID
- func (ShardAliasID) GetType() string
- func (bid ShardAliasID) GetUUID() uuid.UUID
- func (i ShardAliasID) MarshalText() ([]byte, error)
- func (i *ShardAliasID) Scan(src interface{}) error
- func (id ShardAliasID) String() string
- func (i *ShardAliasID) UnmarshalText(data []byte) error
- func (i ShardAliasID) Value() (driver.Value, error)
- type ShardID
- type UsageTrackingEventID
- func (UsageTrackingEventID) GetType() string
- func (bid UsageTrackingEventID) GetUUID() uuid.UUID
- func (id UsageTrackingEventID) MarshalText() ([]byte, error)
- func (i *UsageTrackingEventID) Scan(src interface{}) error
- func (id UsageTrackingEventID) String() string
- func (id UsageTrackingEventID) UnmarshalText(data []byte) error
- func (i UsageTrackingEventID) Value() (driver.Value, error)
- type UserID
- type WitnessID
- func (WitnessID) GetType() string
- func (bid WitnessID) GetUUID() uuid.UUID
- func (id WitnessID) MarshalText() ([]byte, error)
- func (i *WitnessID) Scan(src interface{}) error
- func (id WitnessID) String() string
- func (id *WitnessID) UnmarshalText(data []byte) error
- func (i WitnessID) Value() (driver.Value, error)
Constants ¶
const ( APISpecTag = "api" APIKeyTag = "apk" APIMethodTag = "mth" ClientTag = "cli" ConnectionTag = "cxn" DataCategoryTag = "dct" GraphTag = "gph" IdentityTag = "idt" InsightsEndpointTag = "ine" InvalidTag = "xxx" LearnSessionTag = "lrn" MessageTag = "msg" MonitorTag = "mtr" OrganizationTag = "org" OutboundRequestTag = "obr" PathParameterPrefixTag = "ppx" ProjectTag = "prj" RequestTag = "req" RuleTag = "rul" ScheduleTag = "sch" ServiceClusterTag = "scl" ServiceTag = "svc" ShardAliasTag = "sal" ShardTag = "shd" UsageTrackingEventTag = "ute" UserTag = "usr" WitnessTag = "wit" )
Variables ¶
var ( // NOTE: These are deprecated and will be removed in a subsequent PR. // Use the zero (unassigned) value for any given ID instead. NilDataCategoryID = NewDataCategoryID(uuid.Nil) NilProjectID = NewProjectID(uuid.Nil) NilServiceID = NewServiceID(uuid.Nil) NilServiceClusterID = NewServiceClusterID(uuid.Nil) NilUserID = NewUserID(uuid.Nil) )
Functions ¶
Types ¶
type APIKeyID ¶
type APIKeyID struct {
// contains filtered or unexported fields
}
APIKeyIDs
func GenerateAPIKeyID ¶
func GenerateAPIKeyID() APIKeyID
func NewAPIKeyID ¶
func (APIKeyID) MarshalText ¶
func (*APIKeyID) UnmarshalText ¶
type APIMethodID ¶
type APIMethodID struct {
// contains filtered or unexported fields
}
APIMethodIDs
func GenerateAPIMethodID ¶
func GenerateAPIMethodID() APIMethodID
func NewAPIMethodID ¶
func NewAPIMethodID(ID uuid.UUID) APIMethodID
func (APIMethodID) GetType ¶
func (APIMethodID) GetType() string
func (APIMethodID) MarshalText ¶
func (id APIMethodID) MarshalText() ([]byte, error)
func (APIMethodID) String ¶
func (id APIMethodID) String() string
func (*APIMethodID) UnmarshalText ¶
func (id *APIMethodID) UnmarshalText(data []byte) error
type APISpecID ¶
type APISpecID struct {
// contains filtered or unexported fields
}
APISpecIDs
func GenerateAPISpecID ¶
func GenerateAPISpecID() APISpecID
func NewAPISpecID ¶
func (APISpecID) MarshalText ¶
func (*APISpecID) UnmarshalText ¶
type ClientID ¶
type ClientID struct {
// contains filtered or unexported fields
}
ClientIDs ClientID represents a unique run of the akita client.
func GenerateClientID ¶
func GenerateClientID() ClientID
func NewClientID ¶
func (ClientID) MarshalText ¶
func (*ClientID) UnmarshalText ¶
type ConnectionID ¶
type ConnectionID struct {
// contains filtered or unexported fields
}
ConnectionIDs represent a network connection
func GenerateConnectionID ¶
func GenerateConnectionID() ConnectionID
func NewConnectionID ¶
func NewConnectionID(ID uuid.UUID) ConnectionID
func (ConnectionID) GetType ¶
func (ConnectionID) GetType() string
func (ConnectionID) MarshalText ¶
func (id ConnectionID) MarshalText() ([]byte, error)
func (ConnectionID) String ¶
func (id ConnectionID) String() string
func (*ConnectionID) UnmarshalText ¶
func (id *ConnectionID) UnmarshalText(data []byte) error
type DataCategoryID ¶
type DataCategoryID struct {
// contains filtered or unexported fields
}
DataCategoryIDs
func GenerateDataCategoryID ¶
func GenerateDataCategoryID() DataCategoryID
func NewDataCategoryID ¶
func NewDataCategoryID(ID uuid.UUID) DataCategoryID
func (DataCategoryID) GetType ¶
func (DataCategoryID) GetType() string
func (DataCategoryID) MarshalText ¶
To support JSON marshaling/unmarshaling, individual akid types must implement encoding.TextMarshaler and encoding.TextUnmarshaler. In order to allow the individual akid types to have valid zero values, baseID does not know about the tag. Thus, it cannot implement those interfaces.
func (DataCategoryID) String ¶
func (id DataCategoryID) String() string
func (*DataCategoryID) UnmarshalText ¶
type GraphID ¶
type GraphID struct {
// contains filtered or unexported fields
}
GraphIDs
func GenerateGraphID ¶
func GenerateGraphID() GraphID
func NewGraphID ¶
func (GraphID) MarshalText ¶
func (*GraphID) UnmarshalText ¶
type IdentityID ¶
type IdentityID struct {
// contains filtered or unexported fields
}
IdentityIDs
func GenerateIdentityID ¶
func GenerateIdentityID() IdentityID
func NewIdentityID ¶
func NewIdentityID(ID uuid.UUID) IdentityID
func (IdentityID) GetType ¶
func (IdentityID) GetType() string
func (IdentityID) MarshalText ¶
func (id IdentityID) MarshalText() ([]byte, error)
func (IdentityID) String ¶
func (id IdentityID) String() string
func (*IdentityID) UnmarshalText ¶
func (id *IdentityID) UnmarshalText(data []byte) error
type InsightsEndpointID ¶
type InsightsEndpointID struct {
// contains filtered or unexported fields
}
InsightsEndpointIDs
func GenerateInsightsEndpointID ¶
func GenerateInsightsEndpointID() InsightsEndpointID
func NewInsightsEndpointID ¶
func NewInsightsEndpointID(ID uuid.UUID) InsightsEndpointID
func (InsightsEndpointID) GetType ¶
func (InsightsEndpointID) GetType() string
func (InsightsEndpointID) MarshalText ¶
func (id InsightsEndpointID) MarshalText() ([]byte, error)
func (InsightsEndpointID) String ¶
func (id InsightsEndpointID) String() string
func (*InsightsEndpointID) UnmarshalText ¶
func (id *InsightsEndpointID) UnmarshalText(data []byte) error
type LearnSessionID ¶
type LearnSessionID struct {
// contains filtered or unexported fields
}
LearnSessionIDs
func GenerateLearnSessionID ¶
func GenerateLearnSessionID() LearnSessionID
func NewLearnSessionID ¶
func NewLearnSessionID(ID uuid.UUID) LearnSessionID
func (LearnSessionID) GetType ¶
func (LearnSessionID) GetType() string
func (LearnSessionID) MarshalText ¶
func (id LearnSessionID) MarshalText() ([]byte, error)
func (LearnSessionID) String ¶
func (id LearnSessionID) String() string
func (*LearnSessionID) UnmarshalText ¶
func (id *LearnSessionID) UnmarshalText(data []byte) error
type MessageID ¶
type MessageID struct {
// contains filtered or unexported fields
}
MessageIDs
func GenerateMessageID ¶
func GenerateMessageID() MessageID
func NewMessageID ¶
func (MessageID) MarshalText ¶
func (*MessageID) UnmarshalText ¶
type MonitorID ¶
type MonitorID struct {
// contains filtered or unexported fields
}
MonitorIDs
func GenerateMonitorID ¶
func GenerateMonitorID() MonitorID
func NewMonitorID ¶
func (MonitorID) MarshalText ¶
func (*MonitorID) UnmarshalText ¶
type OrganizationID ¶
type OrganizationID struct {
// contains filtered or unexported fields
}
OrganizationIDs
func GenerateOrganizationID ¶
func GenerateOrganizationID() OrganizationID
func NewOrganizationID ¶
func NewOrganizationID(ID uuid.UUID) OrganizationID
func (OrganizationID) GetType ¶
func (OrganizationID) GetType() string
func (OrganizationID) MarshalText ¶
func (id OrganizationID) MarshalText() ([]byte, error)
func (OrganizationID) String ¶
func (id OrganizationID) String() string
func (*OrganizationID) UnmarshalText ¶
func (id *OrganizationID) UnmarshalText(data []byte) error
type OutboundRequestID ¶
type OutboundRequestID struct {
// contains filtered or unexported fields
}
func GenerateOutboundRequestID ¶
func GenerateOutboundRequestID() OutboundRequestID
func NewOutboundRequestID ¶
func NewOutboundRequestID(ID uuid.UUID) OutboundRequestID
func (OutboundRequestID) GetType ¶
func (OutboundRequestID) GetType() string
func (OutboundRequestID) MarshalText ¶
func (id OutboundRequestID) MarshalText() ([]byte, error)
func (OutboundRequestID) String ¶
func (id OutboundRequestID) String() string
func (*OutboundRequestID) UnmarshalText ¶
func (id *OutboundRequestID) UnmarshalText(data []byte) error
type PathParameterPrefixID ¶
type PathParameterPrefixID struct {
// contains filtered or unexported fields
}
func GeneratePathParameterPrefixID ¶
func GeneratePathParameterPrefixID() PathParameterPrefixID
func NewPathParameterPrefixID ¶
func NewPathParameterPrefixID(ID uuid.UUID) PathParameterPrefixID
func (PathParameterPrefixID) GetType ¶
func (PathParameterPrefixID) GetType() string
func (PathParameterPrefixID) MarshalText ¶
func (id PathParameterPrefixID) MarshalText() ([]byte, error)
func (PathParameterPrefixID) String ¶
func (id PathParameterPrefixID) String() string
func (PathParameterPrefixID) UnmarshalText ¶
func (id PathParameterPrefixID) UnmarshalText(data []byte) error
type ProjectID ¶
type ProjectID struct {
// contains filtered or unexported fields
}
ProjectIDs
func GenerateProjectID ¶
func GenerateProjectID() ProjectID
func NewProjectID ¶
func (ProjectID) MarshalText ¶
To support JSON marshaling/unmarshaling, individual akid types must implement encoding.TextMarshaler and encoding.TextUnmarshaler. In order to allow the individual akid types to have valid zero values, baseID does not know about the tag. Thus, it cannot implement those interfaces.
func (*ProjectID) UnmarshalText ¶
type QualifiedDeploymentID ¶
type QualifiedDeploymentID struct { QualifiedServiceID Deployment string `json:"deployment"` }
A deployment paired with its service ID and organization ID.
func MakeQualifiedDeploymentID ¶
func MakeQualifiedDeploymentID(organizationID OrganizationID, serviceID ServiceID, deployment string) QualifiedDeploymentID
func (QualifiedDeploymentID) String ¶
func (d QualifiedDeploymentID) String() string
type QualifiedLearnSessionID ¶
type QualifiedLearnSessionID struct { QualifiedServiceID LearnSessionID LearnSessionID `json:"learn_session_id"` }
A learn session ID paired with its service ID and organization ID.
func MakeQualifiedLearnSessionID ¶
func MakeQualifiedLearnSessionID(organizationID OrganizationID, serviceID ServiceID, learnSessionID LearnSessionID) QualifiedLearnSessionID
func (QualifiedLearnSessionID) String ¶
func (sessionID QualifiedLearnSessionID) String() string
type QualifiedServiceID ¶
type QualifiedServiceID struct { OrganizationID OrganizationID `json:"organization_id"` ServiceID ServiceID `json:"service_id"` }
A service ID paired with its organization ID.
func MakeQualifiedServiceID ¶
func MakeQualifiedServiceID(organizationID OrganizationID, serviceID ServiceID) QualifiedServiceID
func (QualifiedServiceID) QualifyDeployment ¶
func (serviceID QualifiedServiceID) QualifyDeployment(deployment string) QualifiedDeploymentID
Qualifies the given deployment with this service ID.
func (QualifiedServiceID) QualifyLearnSessionID ¶
func (serviceID QualifiedServiceID) QualifyLearnSessionID(learnSessionID LearnSessionID) QualifiedLearnSessionID
Qualifies the given learn session ID with this service ID.
func (QualifiedServiceID) String ¶
func (serviceID QualifiedServiceID) String() string
type RequestID ¶
type RequestID struct {
// contains filtered or unexported fields
}
RequestIDs
func GenerateRequestID ¶
func GenerateRequestID() RequestID
func NewRequestID ¶
func (RequestID) MarshalText ¶
func (*RequestID) UnmarshalText ¶
type RuleID ¶
type RuleID struct {
// contains filtered or unexported fields
}
RuleIDs
func GenerateRuleID ¶
func GenerateRuleID() RuleID
func (RuleID) MarshalText ¶
func (*RuleID) UnmarshalText ¶
type ScheduleID ¶
type ScheduleID struct {
// contains filtered or unexported fields
}
ScheduleIDs
func GenerateScheduleID ¶
func GenerateScheduleID() ScheduleID
func NewScheduleID ¶
func NewScheduleID(ID uuid.UUID) ScheduleID
func (ScheduleID) GetType ¶
func (ScheduleID) GetType() string
func (ScheduleID) MarshalText ¶
func (id ScheduleID) MarshalText() ([]byte, error)
func (ScheduleID) String ¶
func (id ScheduleID) String() string
func (*ScheduleID) UnmarshalText ¶
func (id *ScheduleID) UnmarshalText(data []byte) error
type ServiceClusterID ¶
type ServiceClusterID struct {
// contains filtered or unexported fields
}
ServiceClusterIDs
func GenerateServiceClusterID ¶
func GenerateServiceClusterID() ServiceClusterID
func NewServiceClusterID ¶
func NewServiceClusterID(ID uuid.UUID) ServiceClusterID
func (ServiceClusterID) GetType ¶
func (ServiceClusterID) GetType() string
func (ServiceClusterID) MarshalText ¶
To support JSON marshaling/unmarshaling, individual akid types must implement encoding.TextMarshaler and encoding.TextUnmarshaler. In order to allow the individual akid types to have valid zero values, baseID does not know about the tag. Thus, it cannot implement those interfaces.
func (ServiceClusterID) String ¶
func (id ServiceClusterID) String() string
func (*ServiceClusterID) UnmarshalText ¶
type ServiceID ¶
type ServiceID struct {
// contains filtered or unexported fields
}
ServiceIDs
func GenerateServiceID ¶
func GenerateServiceID() ServiceID
func NewServiceID ¶
func (ServiceID) MarshalText ¶
func (*ServiceID) UnmarshalText ¶
type ShardAliasID ¶
type ShardAliasID struct {
// contains filtered or unexported fields
}
func GenerateShardAliasID ¶
func GenerateShardAliasID() ShardAliasID
func NewShardAliasID ¶
func NewShardAliasID(ID uuid.UUID) ShardAliasID
func (ShardAliasID) GetType ¶
func (ShardAliasID) GetType() string
func (ShardAliasID) MarshalText ¶
To support JSON marshaling/unmarshaling, individual akid types must implement encoding.TextMarshaler and encoding.TextUnmarshaler. In order to allow the individual akid types to have valid zero values, baseID does not know about the tag. Thus, it cannot implement those interfaces.
func (ShardAliasID) String ¶
func (id ShardAliasID) String() string
func (*ShardAliasID) UnmarshalText ¶
type ShardID ¶
type ShardID struct {
// contains filtered or unexported fields
}
ShardIDs
func GenerateShardID ¶
func GenerateShardID() ShardID
func NewShardID ¶
func (ShardID) MarshalText ¶
To support JSON marshaling/unmarshaling, individual akid types must implement encoding.TextMarshaler and encoding.TextUnmarshaler. In order to allow the individual akid types to have valid zero values, baseID does not know about the tag. Thus, it cannot implement those interfaces.
func (*ShardID) UnmarshalText ¶
type UsageTrackingEventID ¶
type UsageTrackingEventID struct {
// contains filtered or unexported fields
}
func GenerateUsageTrackingEventID ¶
func GenerateUsageTrackingEventID() UsageTrackingEventID
func NewUsageTrackingEventID ¶
func NewUsageTrackingEventID(ID uuid.UUID) UsageTrackingEventID
func (UsageTrackingEventID) GetType ¶
func (UsageTrackingEventID) GetType() string
func (UsageTrackingEventID) MarshalText ¶
func (id UsageTrackingEventID) MarshalText() ([]byte, error)
func (UsageTrackingEventID) String ¶
func (id UsageTrackingEventID) String() string
func (UsageTrackingEventID) UnmarshalText ¶
func (id UsageTrackingEventID) UnmarshalText(data []byte) error
type UserID ¶
type UserID struct {
// contains filtered or unexported fields
}
UserIDs
func GenerateUserID ¶
func GenerateUserID() UserID
func (UserID) MarshalText ¶
func (*UserID) UnmarshalText ¶
type WitnessID ¶
type WitnessID struct {
// contains filtered or unexported fields
}
func GenerateWitnessID ¶
func GenerateWitnessID() WitnessID