service

package
v0.0.0-...-776a9bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoryService

type StoryService struct {
	// OSClient *opensearch.Client
	OsClient *osstore.OsClient

	pb.UnimplementedStoryServiceServer
	// contains filtered or unexported fields
}

func NewStoryService

func NewStoryService(OsClient *osstore.OsClient, logger logrus.Logger, storyDir string) *StoryService

func (*StoryService) PingPong

func (server *StoryService) PingPong(ctx context.Context, req *pb.Ping) (*pb.Pong, error)

func (*StoryService) UploadStoryAndFiles

func (server *StoryService) UploadStoryAndFiles(stream pb.StoryService_UploadStoryAndFilesServer) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL