Documentation ¶
Index ¶
- type App
- type Service
- func (s *Service) AddBanner(ctx context.Context, r *api.SlotConfigRequest) (*emptypb.Empty, error)
- func (s *Service) Find(ctx context.Context, r *api.BannerRequest) (*api.BannerResponse, error)
- func (s *Service) RemoveBanner(ctx context.Context, r *api.SlotConfigRequest) (*emptypb.Empty, error)
- func (s *Service) Start() error
- func (s *Service) Stop(ctx context.Context)
- func (s *Service) Success(ctx context.Context, r *api.SuccessRequest) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { api.UnimplementedBannerRotationServer // contains filtered or unexported fields }
func (*Service) Find ¶
func (s *Service) Find(ctx context.Context, r *api.BannerRequest) (*api.BannerResponse, error)
func (*Service) RemoveBanner ¶
Click to show internal directories.
Click to hide internal directories.