server

package
v0.0.0-...-5861b17 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	pb.UnimplementedQOTDServer
	// contains filtered or unexported fields
}

func New

func New(addr string) (*API, error)

func (*API) GetQOTD

func (a *API) GetQOTD(ctx context.Context, req *pb.GetReq) (*pb.GetResp, error)

func (*API) Start

func (a *API) Start() error

func (*API) Stop

func (a *API) Stop()

Jump to

Keyboard shortcuts

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