You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
291 B
12 lines
291 B
package rpc
|
|
|
|
import "github.com/TremblingV5/DouTok/pkg/dtviper"
|
|
|
|
// InitRPC init rpc client
|
|
func InitRPC() {
|
|
MessageConfig := dtviper.ConfigInit("DOUTOK_MESSAGE", "message")
|
|
initMessageRpc(MessageConfig)
|
|
|
|
UserConfig := dtviper.ConfigInit("DOUTOK_USER", "user")
|
|
initUserRpc(UserConfig)
|
|
}
|
|
|