sina

package
v0.0.0-...-d9644fe Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 14 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 NewSinaHandler

func NewSinaHandler(cfg *config.CollectorManager, mongo mdb.Interface) *Handler

func (*Handler) Hello

func (hd *Handler) Hello(ctx context.Context, req *dto.NullRsp) (*dto.NullRsp, error)

TODO: add handler implement here

func (*Handler) Login

func (hd *Handler) Login(ctx context.Context, req *dto.LoginReq) (*dto.NullRsp, error)

type Interface

type Interface interface {
	// TODO: add collect sinaWeibo handler method here
	Hello(ctx context.Context, req *dto.NullRsp) (*dto.NullRsp, error)
	Login(ctx context.Context, req *dto.LoginReq) (*dto.NullRsp, error)
}

Jump to

Keyboard shortcuts

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