authstatus

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service provides a high-level API of for AuthStatus

func New

func New(caller sacloud.APICaller) *Service

New returns new service instance of AuthStatus

func (*Service) Read

func (s *Service) Read() (*sacloud.AuthStatus, error)

func (*Service) ReadWithContext

func (s *Service) ReadWithContext(ctx context.Context) (*sacloud.AuthStatus, error)

Jump to

Keyboard shortcuts

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