Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AptMessage ¶
AptMessage is a message from the apt transport.
func (*AptMessage) String ¶
func (m *AptMessage) String() string
String returns the apt message as a string
type AptMethod ¶
AptMethod is a usable apt transport. It must be instantiated with a Main function. DefaultMain will work for almost all cases.
func (*AptMethod) DefaultMain ¶
func (a *AptMethod) DefaultMain()
DefaultMain is a default Main function which will run all the registered functions or their corresponding defaults. If one wishes, the Main can be overwritten with a different function.
func (*AptMethod) GetAptString ¶
GetAptString returns the protocol string used for the apt transport. defaults to the name of the executable+"://", or AptString if it is set. If an error occurs, it will return "http://"
Click to show internal directories.
Click to hide internal directories.