wechaty/go-wechaty

View on GitHub
wechaty-puppet-service/options.go

Summary

Maintainability
A
0 mins
Test Coverage
package puppetservice

import (
    wechatypuppet "github.com/wechaty/go-wechaty/wechaty-puppet"
    "time"
)

// TLSConfig tls config
type TLSConfig struct {
    CaCert     string
    ServerName string

    Disable bool //  only for compatible with old clients/servers
}

// Options puppet-service options
type Options struct {
    wechatypuppet.Option

    GrpcReconnectInterval time.Duration
    Authority             string
    TLS                   TLSConfig
}