Back to

Package microsserver

Latest Go to latest

The latest major version is .

Published: Jun 30, 2019 | License: Apache-2.0 | Module:


type Alias

type Alias struct {
	DomainName string `json:"domainName"`

type AliasInfo

type AliasInfo struct {
	Alias   Alias   `json:"alias"`
	Service Service `json:"service"`

type Client

type Client struct {
	// contains filtered or unexported fields

Client is a minimalistic Micros Server client for our needs See full API spec

func NewMicrosServerClient

func NewMicrosServerClient(logger *zap.Logger, httpClient *http.Client, asap pkiutil.ASAP, baseURL *url.URL) *Client

func (*Client) GetAlias

func (c *Client) GetAlias(ctx context.Context, domainName string) (*AliasInfo, error)

type Service

type Service struct {
	Name  string `json:"name"`
	Owner string `json:"owner"`

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier