// GetAccessLogWithContext gets access log with context controlling
GetAccessLogWithContext gets access log with context controlling
// GetAccessLogWithContext gets access log with context controlling
func (client *Client) GetAccessLogWithContext(ctx context.Context, bucketName string) (*AccessLog, error) {
	result := &AccessLog{}
	req := &clientRequest{
		BucketName:         bucketName,
		Method:             HTTPGet,
		QueryHeaderOptions: accessLogOption{},
		Result:             result,
	}
	resp, err := client.do(ctx, req)
	if err != nil {
		return nil, err
	}
	defer resp.Body.Close()
	return result, err
}
func ( client * Client ) GetAccessLogWithContext ( ctx context . Context , bucketName string ) ( * AccessLog , error ) { result := & AccessLog { } req := & clientRequest { BucketName : bucketName , Method : HTTPGet , QueryHeaderOptions : accessLogOption { } , Result : result , } resp , err := client . do ( ctx , req ) if err != nil { return nil , err } defer resp . Body . Close ( ) return result , err }
GetAccessLogWithContext gets access log with context controlling
GetAccessLogWithContext gets access log with context controlling