Documentation

Overview

    Package host contains the implementation for the "host" security provider.

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var Default auth.Auther

      Default is a host security provider configured from the current local host. If the credentials could not be correctly configured, Default will be nil.

      View Source
      var Type = [4]byte{'h', 'o', 's', 't'}

        Type indicates the host authentication protocol is used.

        Functions

        This section is empty.

        Types

        type Auth

        type Auth struct {
        	Hostname string
        }

          Auth implements the host security provider.

          func (*Auth) Provider

          func (*Auth) Provider() string

            Provider implements auth.Auther

            func (*Auth) Request

            func (a *Auth) Request(params []string) (*auth.Request, error)

              Request implements auth.Auther

              Source Files