Documentation ¶
Index ¶
- type Database
- func (d *Database) CreateAction(in *pb.Action) (*pb.Action, error)
- func (d *Database) CreateOccurrence(in *pb.Occurrence) (*pb.Occurrence, error)
- func (d *Database) ReadActionByID(id int64) (*pb.Action, error)
- func (d *Database) ReadActionByNameAndUserID(name string, userID int64) (*pb.Action, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) CreateOccurrence ¶
func (d *Database) CreateOccurrence(in *pb.Occurrence) (*pb.Occurrence, error)
Click to show internal directories.
Click to hide internal directories.