Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnippetServer ¶
SnippetServer serve the snippet service.
func (*SnippetServer) Initialize ¶
func (s *SnippetServer) Initialize()
Initialize initialize the server
func (*SnippetServer) QuitServer ¶
func (s *SnippetServer) QuitServer(ctx context.Context, in *pb.QuitServerRequest) (*pb.QuitServerResponse, error)
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
Click to show internal directories.
Click to hide internal directories.