bilibili-backup/app/service/main/upcredit/rpc/client/up.go
2019-04-22 02:59:20 +00:00

27 lines
341 B
Go

package client
import (
"go-common/library/net/rpc"
)
const (
_appid = "archive.service.upcredit"
)
//Service rpc service
type Service struct {
client *rpc.Client2
}
//RPC interface
type RPC interface {
}
//New create
func New(c *rpc.ClientConfig) (s *Service) {
s = &Service{
client: rpc.NewDiscoveryCli(_appid, c),
}
return
}