Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimeService ¶
type AnimeService struct {
Session *mgo.Session
}
AnimeService is type for containing the session
func (*AnimeService) GetAnimes ¶
func (s *AnimeService) GetAnimes(ctx context.Context, req *proto.Request, resp *proto.Results) error
GetAnimes is also implementation of rpc AnimeService Interface
func (*AnimeService) GetRepo ¶
func (s *AnimeService) GetRepo() datastore.Repository
GetRepo return a session from anime repository connection
Click to show internal directories.
Click to hide internal directories.