Documentation ¶
Index ¶
- type Endpoint
- type Entry
- type EntryHandle
- type Instance
- func (i *Instance) Allow(tx *stm.Tx, e Entry, reason string, p priority) *EntryHandle
- func (i *Instance) PrintStatus(w io.Writer)
- func (i *Instance) SetMaxEntries(max int)
- func (i *Instance) SetNoMaxEntries()
- func (i *Instance) Wait(ctx context.Context, e Entry, reason string, p priority) (eh *EntryHandle)
- func (i *Instance) WaitDefault(ctx context.Context, e Entry) *EntryHandle
- type Protocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryHandle ¶
type EntryHandle struct {
// contains filtered or unexported fields
}
func (*EntryHandle) Done ¶
func (eh *EntryHandle) Done()
func (*EntryHandle) Forget ¶
func (eh *EntryHandle) Forget()
type Instance ¶
type Instance struct { Timeout func(Entry) time.Duration // contains filtered or unexported fields }
func NewInstance ¶
func NewInstance() *Instance
func (*Instance) PrintStatus ¶
func (*Instance) SetMaxEntries ¶
func (*Instance) SetNoMaxEntries ¶
func (i *Instance) SetNoMaxEntries()
func (*Instance) WaitDefault ¶
func (i *Instance) WaitDefault(ctx context.Context, e Entry) *EntryHandle
Click to show internal directories.
Click to hide internal directories.