Documentation ¶
Index ¶
- type ShowcasesServer
- func (s *ShowcasesServer) Create(ctx context.Context, req *sppb.Showcase) (*sppb.Showcase, error)
- func (s *ShowcasesServer) Delete(ctx context.Context, req *sppb.DeleteRequest) (*sppb.DeleteResponse, error)
- func (s *ShowcasesServer) Get(ctx context.Context, req *sppb.GetRequest) (*sppb.Showcase, error)
- func (s *ShowcasesServer) List(ctx context.Context, req *sppb.ListRequest) (*sppb.Showcases, error)
- func (s *ShowcasesServer) Update(ctx context.Context, req *sppb.Showcase) (*sppb.Showcase, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShowcasesServer ¶
type ShowcasesServer struct { sppb.UnimplementedShowcasesServiceServer // contains filtered or unexported fields }
func NewShowcasesServer ¶
func NewShowcasesServer(log *zap.Logger, db driver.Database) *ShowcasesServer
func (*ShowcasesServer) Delete ¶
func (s *ShowcasesServer) Delete(ctx context.Context, req *sppb.DeleteRequest) (*sppb.DeleteResponse, error)
func (*ShowcasesServer) Get ¶
func (s *ShowcasesServer) Get(ctx context.Context, req *sppb.GetRequest) (*sppb.Showcase, error)
func (*ShowcasesServer) List ¶
func (s *ShowcasesServer) List(ctx context.Context, req *sppb.ListRequest) (*sppb.Showcases, error)
Click to show internal directories.
Click to hide internal directories.