Versions in this module Expand all Collapse all v0 v0.0.4 Sep 14, 2020 Changes in this version + func BuildDefaultSlotChain() *base.SlotChain + func Entry(resource string, opts ...EntryOption) (*base.SentinelEntry, *base.BlockError) + func GlobalSlotChain() *base.SlotChain + func InitDefault() error + func InitWithConfig(confEntity *config.Entity) (err error) + func InitWithConfigFile(configPath string) error + func SetSlotChain(chain *base.SlotChain) + func TraceError(entry *base.SentinelEntry, err error) + type EntryOption func(*EntryOptions) + func WithAcquireCount(acquireCount uint32) EntryOption + func WithArgs(args ...interface{}) EntryOption + func WithAttachment(key interface{}, value interface{}) EntryOption + func WithAttachments(data map[interface{}]interface{}) EntryOption + func WithFlag(flag int32) EntryOption + func WithResourceType(resourceType base.ResourceType) EntryOption + func WithSlotChain(chain *base.SlotChain) EntryOption + func WithTrafficType(entryType base.TrafficType) EntryOption + type EntryOptions struct + func (o *EntryOptions) Reset()