server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnippetServer

type SnippetServer struct {
	GrpcServer *grpc.Server
	// contains filtered or unexported fields
}

SnippetServer serve the snippet service.

func (*SnippetServer) Initialize

func (s *SnippetServer) Initialize()

Initialize initialize the server

func (*SnippetServer) QuitServer

QuitServer quits the server.

func (*SnippetServer) SearchShellSnippet

func (s *SnippetServer) SearchShellSnippet(ctx context.Context, req *pb.ShellSnippetRequest) (*pb.ShellSnippetResponse, error)

SearchShellSnippet returns all snippets match search criteria

Jump to

Keyboard shortcuts

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