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.
13 lines
291 B
13 lines
291 B
3 months ago
|
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)
|
||
|
}
|