klient

package
v0.0.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSite added in v0.0.32

func CreateSite(ctx context.Context,
	addr, token string,
	in *sitesv1.CreateSiteRequest,
) (o *sitesv1.CreateSiteResponse, err error)

func DeleteSite added in v0.0.32

func DeleteSite(ctx context.Context,
	addr, token string,
	in *sitesv1.DeleteSiteRequest,
) (o *sitesv1.DeleteSiteResponse, err error)

func DoSite added in v0.0.34

func GetSite added in v0.0.32

func GetSite(ctx context.Context,
	addr, token string,
	in *sitesv1.GetSiteRequest,
) (o *sitesv1.GetSiteResponse, err error)

func ListSites added in v0.0.32

func ListSites(ctx context.Context,
	addr, token string,
	in *sitesv1.ListSitesRequest,
) (o *sitesv1.ListSitesResponse, err error)

func Login added in v0.0.32

func Login(ctx context.Context,
	addr, username, password string,
	in *v1.LoginRequest,
) (o *v1.LoginResponse, err error)

func Query added in v0.0.32

func Query(ctx context.Context,
	addr, token string,
	in *v1.QueryRequest,
) (o *v1.QueryResponse, err error)

Types

type Sites added in v0.0.34

type Sites struct {
	sitesv1.SitesClient
	*grpc.ClientConn
}

func DialSites added in v0.0.34

func DialSites(addr string, token credentials.PerRPCCredentials) (*Sites, error)

type Vince added in v0.0.34

type Vince struct {
	v1.VinceClient
	*grpc.ClientConn
}

func Dial added in v0.0.32

func Dial(addr string, token credentials.PerRPCCredentials) (*Vince, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL