server

package
v0.0.0-...-3736fb9 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 9 Imported by: 0

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