Categorygithub.com/duc-cnzj/mars/api/v5
modulepackage
5.0.4
Repository: https://github.com/duc-cnzj/mars.git
Documentation: pkg.go.dev

# README

🍀 go-sdk 接入

go get -u github.com/duc-cnzj/mars/api/v5
package main

import (
  api "github.com/duc-cnzj/mars/api/v5"
)

func main()  {
  c, _ := api.NewClient("127.0.0.1:50000",
    api.WithAuth("admin", "123456"),
    api.WithTokenAutoRefresh(),
  )
  defer c.Close()

  // ...
}

更多使用方法请参考 examples

# Packages

Package auth is a reverse proxy.
Package changelog is a reverse proxy.
Package cluster is a reverse proxy.
Package container is a reverse proxy.
Package endpoint is a reverse proxy.
Package event is a reverse proxy.
Package file is a reverse proxy.
Package git is a reverse proxy.
No description provided by the author
Package metrics is a reverse proxy.
Package namespace is a reverse proxy.
Package picture is a reverse proxy.
Package project is a reverse proxy.
Package repo is a reverse proxy.
Package token is a reverse proxy.
No description provided by the author
Package version is a reverse proxy.
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithTokenAutoRefresh TODO c.StreamClientInterceptors 有点难搞,好在目前没用到,之后用到了需要搞一下.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Group represents a class of work and forms a namespace in which units of work can be executed with duplicate suppression.
Result holds the results of Do, so they can be passed on a channel.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author