Documentation ¶ Index ¶ func Open(ctx context.Context) context.Context type ID func Get(ctx context.Context) *ID func (i *ID) Hash(remoteIP, userAgent, domain, host string) uint64 func (i *ID) HashPrevious(remoteIP, userAgent, domain, host string) uint64 func (i *ID) Reset() func (i *ID) Setup() *ID Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Open ¶ func Open(ctx context.Context) context.Context Types ¶ type ID ¶ type ID struct { // contains filtered or unexported fields } func Get ¶ func Get(ctx context.Context) *ID func (*ID) Hash ¶ func (i *ID) Hash(remoteIP, userAgent, domain, host string) uint64 func (*ID) HashPrevious ¶ func (i *ID) HashPrevious(remoteIP, userAgent, domain, host string) uint64 func (*ID) Reset ¶ func (i *ID) Reset() func (*ID) Setup ¶ func (i *ID) Setup() *ID Source Files ¶ View all Source files user_id.go Click to show internal directories. Click to hide internal directories.