rpc

package
v0.0.0-...-422c157 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainServiceHandlerImpl

type MainServiceHandlerImpl struct{}

MainServiceHandlerImpl is a concrete implementation of v1connect.MainServiceHandler.

func (*MainServiceHandlerImpl) Content

func (s *MainServiceHandlerImpl) Content(ctx context.Context, req *connect.Request[v1.ContentRequest]) (resp *connect.Response[v1.ContentResponse], err error)

func (*MainServiceHandlerImpl) CurrentTime

func (s *MainServiceHandlerImpl) CurrentTime(ctx context.Context, req *connect.Request[v1.CurrentTimeRequest]) (resp *connect.Response[v1.CurrentTimeResponse], err error)

CurrentTime returns the current time.

func (*MainServiceHandlerImpl) OpenFile

func (s *MainServiceHandlerImpl) OpenFile(ctx context.Context, req *connect.Request[v1.OpenFileRequest]) (resp *connect.Response[v1.OpenFileResponse], err error)

func (*MainServiceHandlerImpl) OpenURL

func (s *MainServiceHandlerImpl) OpenURL(ctx context.Context, req *connect.Request[v1.OpenURLRequest]) (resp *connect.Response[v1.OpenURLResponse], err error)

OpenURL

func (*MainServiceHandlerImpl) Query

func (s *MainServiceHandlerImpl) Query(ctx context.Context, req *connect.Request[v1.QueryRequest]) (resp *connect.Response[v1.QueryResponse], err error)

Query

func (*MainServiceHandlerImpl) Status

func (s *MainServiceHandlerImpl) Status(ctx context.Context, req *connect.Request[v1.StatusRequest]) (resp *connect.Response[v1.StatusResponse], err error)

func (*MainServiceHandlerImpl) VersionInfo

func (s *MainServiceHandlerImpl) VersionInfo(ctx context.Context, req *connect.Request[v1.VersionInfoRequest]) (resp *connect.Response[v1.VersionInfoResponse], err error)

type User

type User struct {
}

func DefaultUser

func DefaultUser() *User

Jump to

Keyboard shortcuts

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