ipc

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasSovereign

func HasSovereign() bool

Types

type Client

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

func NewClient

func NewClient() (c *Client, err error)

func (*Client) Close

func (c *Client) Close()

func (*Client) GetAccessToken

func (c *Client) GetAccessToken() (string, error)

func (*Client) SendCallback

func (c *Client) SendCallback(callbackURL string) error

type Server

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

func NewServer

func NewServer(oauthHandler oauth2.Handler) (s *Server)

func (*Server) Callback

func (s *Server) Callback(ctx context.Context, cb *pb.CBRequest) (*pb.Empty, error)

func (*Server) GetAccessToken

func (s *Server) GetAccessToken(ctx context.Context, _ *pb.Empty) (*pb.ATResponse, error)

func (*Server) Ping

func (s *Server) Ping(ctx context.Context, _ *pb.Empty) (*pb.PingResponse, error)

func (*Server) Serve

func (s *Server) Serve() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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