news_manager_client

package
v0.0.0-...-ed063ce Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisconnectFunc

type DisconnectFunc func() error

func NewClient

func NewClient(grpcAddr string) (cli om.NewsManager, disconnectFunc DisconnectFunc, err error)

type EndpointSet

type EndpointSet struct {
	GetNewsEndpoint endpoint.Endpoint
}

func (EndpointSet) GetNews

func (s EndpointSet) GetNews(req om.GetNewsRequest) (result om.GetNewsResult, err error)

Jump to

Keyboard shortcuts

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