()
| 41 | } |
| 42 | |
| 43 | func NewOption() *Options { |
| 44 | return &Options{ |
| 45 | Endpoint: "http://127.0.0.1:8080", |
| 46 | Version: "v1", |
| 47 | AuthTransfer: false, |
| 48 | Auth: &AuthOption{ |
| 49 | Name: NOAuthType, |
| 50 | ParamStr: "", |
| 51 | }, |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | func NewEmptyOption() *Options { |
| 56 | return &Options{ |
no outgoing calls