Browse Source

fix method name

ls 7 months ago
parent
commit
29ad56bb4a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      client.go

+ 2 - 2
client.go

@@ -22,8 +22,8 @@ func NewClient(appID, appSecret, token, encodingAESKey string) *Client {
 	return c
 }
 
-// UseCacheToken token from cache
-func (wc *Client) UseCacheToken(ok bool) {
+// TokenFromCache token from cache
+func (wc *Client) TokenFromCache(ok bool) {
 	wc.UseCacheToken = ok
 }