rpc

package
v0.0.0-...-41ff29f Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(cmdApp *cmd.AppCmd, queryApp *query.AppQuery) *Handler

func (*Handler) GetSegment

func (h *Handler) GetSegment(ctx context.Context, req *stub.GetSegmentReq) (rsp *stub.GetSegmentRsp, err error)

func (*Handler) GetSnowflake

func (h *Handler) GetSnowflake(ctx context.Context, req *stub.GetSnowflakeReq) (rsp *stub.GetSnowflakeRsp, err error)

func (*Handler) Ping

func (h *Handler) Ping(ctx context.Context, req *empty.Empty) (rsp *empty.Empty, err error)

Jump to

Keyboard shortcuts

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