Documentation ¶
Index ¶
- Constants
- type QueryIssuesResult
- type QuerySyncSettingsResult
- type Repo
- type RepoSQLiteImpl
- func (this *RepoSQLiteImpl) CreateIssue(_id string, model *model.Issue) (*model.Issue, error)
- func (this *RepoSQLiteImpl) CreateSyncSetting(_id string, model *model.SyncSetting) (*model.SyncSetting, error)
- func (this *RepoSQLiteImpl) DeleteIssue(_id string, _rev string) (*model.Issue, error)
- func (this *RepoSQLiteImpl) DeleteSyncSetting(_id string, _rev string) (*model.SyncSetting, error)
- func (this *RepoSQLiteImpl) FindByName(name string) (*model.SyncSetting, error)
- func (this *RepoSQLiteImpl) QueryAllIssues() (*QueryIssuesResult, error)
- func (this *RepoSQLiteImpl) QueryAllSyncSettings() (*QuerySyncSettingsResult, error)
- func (this *RepoSQLiteImpl) QueryIssues(query map[string]string) (*QueryIssuesResult, error)
- func (this *RepoSQLiteImpl) QuerySyncSettings(query map[string]string) (*QuerySyncSettingsResult, error)
- func (this *RepoSQLiteImpl) ReadIssue(_id string) (*model.Issue, error)
- func (this *RepoSQLiteImpl) ReadSyncSetting(_id string) (*model.SyncSetting, error)
- func (this *RepoSQLiteImpl) UpdateIssue(_id string, _rev string, model *model.Issue) (*model.Issue, error)
- func (this *RepoSQLiteImpl) UpdateSyncSetting(_id string, _rev string, model *model.SyncSetting) (*model.SyncSetting, error)
Constants ¶
View Source
const JIRA_DATE_FORMAT = "2006-01-02T15:04:05.000-0700"
TODO
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryIssuesResult ¶
type QueryIssuesResult struct {
Result []*model.Issue `json:"result"`
}
type QuerySyncSettingsResult ¶
type QuerySyncSettingsResult struct {
Result []*model.SyncSetting `json:"result"`
}
type Repo ¶
type Repo interface { CreateIssue(_id string, model *model.Issue) (*model.Issue, error) ReadIssue(_id string) (*model.Issue, error) UpdateIssue(_id string, _rev string, model *model.Issue) (*model.Issue, error) DeleteIssue(_id string, _rev string) (*model.Issue, error) QueryIssues(query map[string]string) (*QueryIssuesResult, error) QueryAllIssues() (*QueryIssuesResult, error) CreateSyncSetting(_id string, model *model.SyncSetting) (*model.SyncSetting, error) ReadSyncSetting(_id string) (*model.SyncSetting, error) UpdateSyncSetting(_id string, _rev string, model *model.SyncSetting) (*model.SyncSetting, error) DeleteSyncSetting(_id string, _rev string) (*model.SyncSetting, error) QuerySyncSettings(query map[string]string) (*QuerySyncSettingsResult, error) QueryAllSyncSettings() (*QuerySyncSettingsResult, error) FindByName(name string) (*model.SyncSetting, error) }
func InitSQLite ¶
type RepoSQLiteImpl ¶
func (*RepoSQLiteImpl) CreateIssue ¶
func (this *RepoSQLiteImpl) CreateIssue(_id string, model *model.Issue) (*model.Issue, error)
func (*RepoSQLiteImpl) CreateSyncSetting ¶
func (this *RepoSQLiteImpl) CreateSyncSetting(_id string, model *model.SyncSetting) (*model.SyncSetting, error)
func (*RepoSQLiteImpl) DeleteIssue ¶
func (this *RepoSQLiteImpl) DeleteIssue(_id string, _rev string) (*model.Issue, error)
func (*RepoSQLiteImpl) DeleteSyncSetting ¶
func (this *RepoSQLiteImpl) DeleteSyncSetting(_id string, _rev string) (*model.SyncSetting, error)
func (*RepoSQLiteImpl) FindByName ¶
func (this *RepoSQLiteImpl) FindByName(name string) (*model.SyncSetting, error)
func (*RepoSQLiteImpl) QueryAllIssues ¶
func (this *RepoSQLiteImpl) QueryAllIssues() (*QueryIssuesResult, error)
func (*RepoSQLiteImpl) QueryAllSyncSettings ¶
func (this *RepoSQLiteImpl) QueryAllSyncSettings() (*QuerySyncSettingsResult, error)
func (*RepoSQLiteImpl) QueryIssues ¶
func (this *RepoSQLiteImpl) QueryIssues(query map[string]string) (*QueryIssuesResult, error)
func (*RepoSQLiteImpl) QuerySyncSettings ¶
func (this *RepoSQLiteImpl) QuerySyncSettings(query map[string]string) (*QuerySyncSettingsResult, error)
func (*RepoSQLiteImpl) ReadIssue ¶
func (this *RepoSQLiteImpl) ReadIssue(_id string) (*model.Issue, error)
func (*RepoSQLiteImpl) ReadSyncSetting ¶
func (this *RepoSQLiteImpl) ReadSyncSetting(_id string) (*model.SyncSetting, error)
func (*RepoSQLiteImpl) UpdateIssue ¶
func (this *RepoSQLiteImpl) UpdateIssue(_id string, _rev string, model *model.Issue) (*model.Issue, error)
func (*RepoSQLiteImpl) UpdateSyncSetting ¶
func (this *RepoSQLiteImpl) UpdateSyncSetting(_id string, _rev string, model *model.SyncSetting) (*model.SyncSetting, error)
Click to show internal directories.
Click to hide internal directories.