models

package
v0.0.0-...-c2e183a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2016 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New(dbSource string) *Model

func (*Model) CreateActivity

func (m *Model) CreateActivity(event string, targetId string, sourceId string, targetObjectId string, timestamp int64)

func (*Model) CreateRetweetActivity

func (m *Model) CreateRetweetActivity(event string, targetId string, sourceId string, targetObjectId string, retweeetedStatusId string, timestamp int64)

func (*Model) DeleteFavoriteActivity

func (m *Model) DeleteFavoriteActivity(sourceId string, statusId string)

func (*Model) DeleteTweetActivity

func (m *Model) DeleteTweetActivity(statusId string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL