Documentation
¶
Overview ¶
Copyright 2017 Joan Llopis. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Copyright 2017 Joan Llopis. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
- type MemStore
- func (m *MemStore) AddJob(*services.JobMsg) (*services.IdMessage, error)
- func (d *MemStore) Close() error
- func (m *MemStore) DeleteJob(*services.IdMessage) (*services.JobMsg, error)
- func (d *MemStore) Dial(options store.Options) error
- func (m *MemStore) FindJob(*services.IdMessage) (*services.JobMsg, error)
- func (m *MemStore) ListJobs(*services.JobFilterMsg) (*services.JobArrayMsg, error)
- func (d *MemStore) Status() (int, string)
- func (m *MemStore) UpdateJob(*services.JobMsg) (*services.JobMsg, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemStore ¶
type MemStore struct { Pool map[int64]*services.JobDataMsg StoreFileName string StoreFile *os.File Stat int }
MemStore is a Storer implementation over PostgresSQL
func (*MemStore) ListJobs ¶
func (m *MemStore) ListJobs(*services.JobFilterMsg) (*services.JobArrayMsg, error)
Click to show internal directories.
Click to hide internal directories.