Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { InsertSchedule(data *apiPb.InsertScheduleWithIdRequest) error GetScheduleById(data *apiPb.GetScheduleWithIdRequest) (*apiPb.GetScheduleWithIdResponse, error) DeleteScheduleById(data *apiPb.DeleteScheduleWithIdRequest) error }
type Redis ¶
type Redis struct {
Client *redis.Client
}
func (*Redis) DeleteScheduleById ¶
func (c *Redis) DeleteScheduleById(data *apiPb.DeleteScheduleWithIdRequest) error
func (*Redis) GetScheduleById ¶
func (c *Redis) GetScheduleById(data *apiPb.GetScheduleWithIdRequest) (*apiPb.GetScheduleWithIdResponse, error)
func (*Redis) InsertSchedule ¶
func (c *Redis) InsertSchedule(data *apiPb.InsertScheduleWithIdRequest) error
Click to show internal directories.
Click to hide internal directories.