Documentation
¶
Index ¶
- type Gomibako
- type GomibakoKey
- type GomibakoRepository
- func (gr *GomibakoRepository) AddGomibako() (*Gomibako, error)
- func (gr *GomibakoRepository) AddRequest(greq *GomibakoRequest) error
- func (gr *GomibakoRepository) Get(key GomibakoKey) (*Gomibako, error)
- func (gr *GomibakoRepository) GetWithCh(key GomibakoKey) (*Gomibako, chan *GomibakoRequest, error)
- func (gr *GomibakoRepository) Release(key GomibakoKey, ch chan *GomibakoRequest) error
- func (gr *GomibakoRepository) RunBroker()
- func (gr *GomibakoRepository) RunTruncater()
- func (gr *GomibakoRepository) Truncate()
- type GomibakoRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gomibako ¶
type Gomibako struct { Key GomibakoKey // contains filtered or unexported fields }
func (*Gomibako) Requests ¶
func (g *Gomibako) Requests() []*GomibakoRequest
type GomibakoKey ¶
type GomibakoKey string
type GomibakoRepository ¶
type GomibakoRepository struct {
// contains filtered or unexported fields
}
func NewGomibakoRepository ¶
func NewGomibakoRepository() *GomibakoRepository
func (*GomibakoRepository) AddGomibako ¶
func (gr *GomibakoRepository) AddGomibako() (*Gomibako, error)
func (*GomibakoRepository) AddRequest ¶
func (gr *GomibakoRepository) AddRequest(greq *GomibakoRequest) error
func (*GomibakoRepository) Get ¶
func (gr *GomibakoRepository) Get(key GomibakoKey) (*Gomibako, error)
func (*GomibakoRepository) GetWithCh ¶
func (gr *GomibakoRepository) GetWithCh(key GomibakoKey) (*Gomibako, chan *GomibakoRequest, error)
func (*GomibakoRepository) Release ¶
func (gr *GomibakoRepository) Release(key GomibakoKey, ch chan *GomibakoRequest) error
func (*GomibakoRepository) RunBroker ¶
func (gr *GomibakoRepository) RunBroker()
func (*GomibakoRepository) RunTruncater ¶
func (gr *GomibakoRepository) RunTruncater()
func (*GomibakoRepository) Truncate ¶
func (gr *GomibakoRepository) Truncate()
Click to show internal directories.
Click to hide internal directories.